summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/dvbsnoop/0001-musl-types-h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/dvbsnoop/0001-musl-types-h.patch b/package/dvbsnoop/0001-musl-types-h.patch
new file mode 100644
index 0000000000..1149df0d07
--- /dev/null
+++ b/package/dvbsnoop/0001-musl-types-h.patch
@@ -0,0 +1,15 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr dvbsnoop-1.4.50.org/src/misc/helper.h dvbsnoop-1.4.50/src/misc/helper.h
+--- dvbsnoop-1.4.50.org/src/misc/helper.h 2006-01-02 20:04:56.000000000 +0100
++++ dvbsnoop-1.4.50/src/misc/helper.h 2016-01-24 14:35:02.000000000 +0100
+@@ -16,6 +16,7 @@
+ #ifndef __HELPER_H
+ #define __HELPER_H
+
++#include <sys/types.h>
+
+ u_long outBit_Sx (int verbosity, const char *text, u_char *buf, int startbit, int bitlen);
+ u_long outBit_Sx_NL (int verbosity, const char *text, u_char *buf, int startbit, int bitlen);
OpenPOWER on IntegriCloud