index
:
ndpi-daemon.git
Tiny nDPI based deep packet inspection daemons / toolkit.
log msg
author
committer
range
add/PF_RING
add/apple-bsd-port
add/config-file-support
add/event-io-abstraction
add/nDPId-UDP-endpoint
add/tls-proxy-support
add/tunnel-decoding
add/udp-aes256-gcm
main
ndpi-example-proposal
tmp
about
summary
refs
log
tree
commit
diff
path:
root
/
nDPIsrvd.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'nDPIsrvd.c')
-rw-r--r--
nDPIsrvd.c
2
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>