diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_api.h (renamed from src/include/ndpi_api.h.in) | 5 | ||||
-rw-r--r-- | src/include/ndpi_define.h.in | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h index cf6c1e469..02fd54b79 100644 --- a/src/include/ndpi_api.h.in +++ b/src/include/ndpi_api.h @@ -31,11 +31,6 @@ extern "C" { #endif - /* The #define below is used for apps that dynamically link with nDPI to make - sure that datastructures and in sync across versions - */ -#define NDPI_API_VERSION @NDPI_API_VERSION@ - #define SIZEOF_FLOW_STRUCT ( sizeof(struct ndpi_flow_struct) ) #define NDPI_DETECTION_ONLY_IPV4 ( 1 << 0 ) diff --git a/src/include/ndpi_define.h.in b/src/include/ndpi_define.h.in index b25430945..3b21e5dfb 100644 --- a/src/include/ndpi_define.h.in +++ b/src/include/ndpi_define.h.in @@ -24,6 +24,12 @@ #define __NDPI_DEFINE_INCLUDE_FILE__ /* + * The #define below is used for apps that dynamically link with nDPI to make + * sure that datastructures and in sync across versions + */ +#define NDPI_API_VERSION @NDPI_API_VERSION@ + +/* gcc -E -dM - < /dev/null |grep ENDIAN */ |