diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 41069f8b4..b13af095f 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -172,6 +172,7 @@ typedef u_int32_t ndpi_ndpi_mask; /* NDPI_PROTO_BITMASK_STRUCT */ #ifdef NDPI_CFFI_PREPROCESSING +#undef NDPI_NUM_FDS_BITS #define NDPI_NUM_FDS_BITS 16 #endif @@ -206,6 +207,8 @@ typedef void (*ndpi_debug_function_ptr) (u_int32_t protocol, void *module_struct /* PLEASE DO NOT REMOVE OR CHANGE THE ORDER OF WHAT IS DELIMITED BY CFFI.NDPI_PACKED_STRUCTURES FLAG AS IT IS USED FOR PYTHON BINDINGS AUTO GENERATION */ #ifdef NDPI_CFFI_PREPROCESSING +#undef PACK_ON +#undef PACK_OFF #define PACK_ON #define PACK_OFF #endif |