added syslog.h in dlog.c and dlogutil bug fix
[framework/system/dlog.git] / log.c
diff --git a/log.c b/log.c
index 42cf02e..81c1f0b 100755 (executable)
--- a/log.c
+++ b/log.c
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <dlog.h>
 #ifdef SD_JOURNAL_SUPPORT
+#include <syslog.h>
 #include <systemd/sd-journal.h>
 #endif
 #define LOG_BUF_SIZE   1024