Added chec for avoiding doung ntop_config.h include
This commit is contained in:
@@ -181,7 +181,10 @@
|
|||||||
#define NDPI_JABBER_FT_TIMEOUT 5
|
#define NDPI_JABBER_FT_TIMEOUT 5
|
||||||
#define NDPI_SOULSEEK_CONNECTION_IP_TICK_TIMEOUT 600
|
#define NDPI_SOULSEEK_CONNECTION_IP_TICK_TIMEOUT 600
|
||||||
|
|
||||||
|
#ifndef _NDPI_CONFIG_H_
|
||||||
#include "ndpi_config.h" /* To have access to NDPI_ENABLE_DEBUG_MESSAGES */
|
#include "ndpi_config.h" /* To have access to NDPI_ENABLE_DEBUG_MESSAGES */
|
||||||
|
#define _NDPI_CONFIG_H_
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NDPI_ENABLE_DEBUG_MESSAGES
|
#ifdef NDPI_ENABLE_DEBUG_MESSAGES
|
||||||
#define NDPI_LOG(proto, m, log_level, args...) \
|
#define NDPI_LOG(proto, m, log_level, args...) \
|
||||||
|
|||||||
@@ -1013,7 +1013,10 @@ typedef struct ndpi_proto {
|
|||||||
#ifdef NDPI_LIB_COMPILATION
|
#ifdef NDPI_LIB_COMPILATION
|
||||||
|
|
||||||
/* Needed to have access to HAVE_* defines */
|
/* Needed to have access to HAVE_* defines */
|
||||||
|
#ifndef _NDPI_CONFIG_H_
|
||||||
#include "ndpi_config.h"
|
#include "ndpi_config.h"
|
||||||
|
#define _NDPI_CONFIG_H_
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PCRE
|
#ifdef HAVE_PCRE
|
||||||
#include <pcre.h>
|
#include <pcre.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user