diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-13 09:44:42 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-13 09:44:42 +0000 |
commit | 58d34ac3637410fc0a14d1c78f7e3bcbf07920a2 (patch) | |
tree | 080436f9eb6f35e29129eb0944067ee55a1b403b /main/ntop/include-sys-types.h.patch | |
parent | 22c52d6b663fcb64f8ce909c19b15e321fa53c82 (diff) | |
download | aports-58d34ac3637410fc0a14d1c78f7e3bcbf07920a2.tar.bz2 aports-58d34ac3637410fc0a14d1c78f7e3bcbf07920a2.tar.xz |
main/ntop: enable and fix build on musl
Diffstat (limited to 'main/ntop/include-sys-types.h.patch')
-rw-r--r-- | main/ntop/include-sys-types.h.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/ntop/include-sys-types.h.patch b/main/ntop/include-sys-types.h.patch new file mode 100644 index 0000000000..dfb0e7378c --- /dev/null +++ b/main/ntop/include-sys-types.h.patch @@ -0,0 +1,20 @@ +--- a/nDPI/src/include/ipq_api.h.orig ++++ b/nDPI/src/include/ipq_api.h +@@ -24,6 +24,7 @@ + #ifndef __IPOQUE_API_INCLUDE_FILE__
+ #define __IPOQUE_API_INCLUDE_FILE__
+
++#include <sys/types.h>
+
+ #if defined(HAVE_NTOP) && defined(WIN32)
+ #include <winsock2.h>
+--- a/nDPI/src/lib/ipq_main.c.orig ++++ b/nDPI/src/lib/ipq_main.c +@@ -21,6 +21,7 @@ + */ + + ++#include <sys/types.h> + #include "ipq_main.h" + #include "ipq_protocols.h" + #include "ipq_utils.h" |