aboutsummaryrefslogtreecommitdiff
path: root/nDPIsrvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nDPIsrvd.c')
-rw-r--r--nDPIsrvd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index 58fbfae5d..b9e71183f 100644
--- a/nDPIsrvd.c
+++ b/nDPIsrvd.c
@@ -8,7 +8,9 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
+#ifndef NO_MAIN
#include <syslog.h>
+#endif
#include <sys/epoll.h>
#include <sys/signalfd.h>
#include <sys/socket.h>