Moved ndpi_config.h from ndpi_main.h to ndpi_main.c, and example source files.

This commit is contained in:
Darryl Sokoloski
2018-04-24 10:21:47 -04:00
parent 7798b964fe
commit c54a8f8cfa
4 changed files with 12 additions and 1 deletions
+4
View File
@@ -18,6 +18,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "ndpi_config.h"
#endif
#ifdef linux
#define _GNU_SOURCE
#include <sched.h>
+4
View File
@@ -21,6 +21,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "ndpi_config.h"
#endif
#include <stdlib.h>
#ifdef WIN32
-1
View File
@@ -24,7 +24,6 @@
#ifndef __NDPI_MAIN_H__
#define __NDPI_MAIN_H__
#include "ndpi_config.h"
#include "ndpi_includes.h"
#include "ndpi_define.h"
#include "ndpi_protocol_ids.h"
+4
View File
@@ -21,6 +21,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "ndpi_config.h"
#endif
#include <stdlib.h>
#include <errno.h>
#include "ahocorasick.h"