diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-11-13 17:30:21 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-11-13 17:30:21 +0100 |
commit | d389f04135354bb67ca7495bf97790e817e570e4 (patch) | |
tree | a8fa7a376d5fe5e20d6d2e88ed709cea741259b4 /nDPIsrvd.c | |
parent | 9075706714f44e6bc984154992746b5b03bb380b (diff) |
MemoryProfiling: Advanced flow usage logging.
* nDPId-test: disable #include <syslog.h> if NO_MAIN macro defined
* nDPId-test: mock syslog flags and functions
* gitlab-ci: force -Werror
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
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> |