--- a/src/engine.h
+++ b/src/engine.h
@@ -37,6 +37,7 @@
 #define LOG_NOTICE      5
 #define LOG_INFO        6
 #define LOG_DEBUG       7
+#include "config.h"
 #else
 #include <syslog.h>
 #include "config.h"
