vp-build/srcpkgs/w_scan/patches/musl-time_h.patch

33 lines
806 B
Diff

--- dump-xml.c 2014-11-22 09:49:26.000000000 +0100
+++ dump-xml.c 2016-05-03 23:36:55.792377942 +0200
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "si_types.h"
#include "dump-xml.h"
--- scan.c 2014-11-23 10:59:26.000000000 +0100
+++ scan.c 2016-05-03 23:39:03.783377563 +0200
@@ -51,6 +51,7 @@
-#include <sys/poll.h>
+#include <poll.h>
#include <unistd.h>
#include <fcntl.h>
+#include <time.h>
#include <signal.h>
#include <assert.h>
#include <getopt.h>
--- emulate.c 2014-11-22 09:49:26.000000000 +0100
+++ emulate.c 2016-05-03 23:40:41.457377274 +0200
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <string.h>
#include <ctype.h>
+#include <time.h>
-#include <sys/errno.h>
+#include <errno.h>
#include "emulate.h"