aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-08-30 19:03:58 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 15:00:29 +0200
commit48c49f58ea0190c8b8846f4889c0b926bb6f2f55 (patch)
tree80efdedfc653961cfb47f4d8bcc5ea4a98d43705 /meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch
parentdf870b09768e8dedbfa52ebe44e5bdceb30a9335 (diff)
downloadmeta-openembedded-contrib-48c49f58ea0190c8b8846f4889c0b926bb6f2f55.tar.gz
meta-openembedded-contrib-48c49f58ea0190c8b8846f4889c0b926bb6f2f55.tar.bz2
meta-openembedded-contrib-48c49f58ea0190c8b8846f4889c0b926bb6f2f55.zip
ntop: Fix build with musl
move away from .inc file, when its included in single recipe helps with devtool workflow too. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch')
-rw-r--r--meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch b/meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch
new file mode 100644
index 0000000000..8cf3bb730a
--- /dev/null
+++ b/meta-networking/recipes-support/ntop/ntop/0001-nDPI-Include-sys-types.h.patch
@@ -0,0 +1,24 @@
+From 6543f3e2d5fe214e2fc6c050289bf1ae73b18724 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 30 Aug 2017 13:56:24 -0700
+Subject: [PATCH] nDPI: Include sys/types.h
+
+Needed for uint_t types
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ nDPI/src/include/ipq_api.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: ntop-5.0.1/nDPI/src/include/ipq_api.h
+===================================================================
+--- ntop-5.0.1.orig/nDPI/src/include/ipq_api.h
++++ ntop-5.0.1/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>