summaryrefslogtreecommitdiff
path: root/debug_syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug_syslog.c')
-rw-r--r--debug_syslog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug_syslog.c b/debug_syslog.c
index c3f8062..5ed82a9 100644
--- a/debug_syslog.c
+++ b/debug_syslog.c
@@ -37,6 +37,10 @@
#include <netinet/in.h>
#include <errno.h>
+#ifndef WITH_DBG_SYSLOG
+#warning debug_syslog.c compiled but WITH_DBG_SYSLOG not defined
+#endif
+
#define SYSLOG_MSGLEN 1024
#define SYSLOG_PRILEN 5
#define SYSLOG_TIMELEN 32