aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-01-24 22:11:05 +0100
committerLuca Deri <deri@ntop.org>2018-01-24 22:11:05 +0100
commit78feabfad741561bbfff2be52b3eadaee9be0e2b (patch)
tree09b1be4892733ecde5804166d26b3f2f21204406 /example
parent54306411a4e4adf7d56c29b136e2f9fb13efee7d (diff)
Inital hyperscan work
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am6
-rw-r--r--example/ndpiReader.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 6cc6a14ce..9eedc21d8 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1,10 +1,10 @@
bin_PROGRAMS = ndpiReader
-AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/lib/third_party/include @PCAP_INC@
+AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/lib/third_party/include @PCAP_INC@ @HS_INC@
AM_CFLAGS = @PTHREAD_CFLAGS@ # --coverage
-LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@ @DL_LIB@ -lm
-AM_LDFLAGS = -static @DL_LIB@
+LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@ @DL_LIB@ @HS_LIB@ -lm
+AM_LDFLAGS = -static @DL_LIB@ @HS_LIB@
ndpiReader_SOURCES = ndpiReader.c ndpi_util.c ndpi_util.h uthash.h
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index aa8e09507..202de40d4 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -43,7 +43,6 @@
#include <sys/socket.h>
#include <assert.h>
#include <math.h>
-#include "../config.h"
#include "ndpi_api.h"
#include "uthash.h"
#include <sys/stat.h>