summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-08-02 22:24:34 +0000
committerChris Wilson <chris+github@qwirx.com>2007-08-02 22:24:34 +0000
commitc0f0b74c04054ddab5610cba9d2268c04c6a7e9f (patch)
treea04f29c5d784bead72995016d56066bf5389ff4f /lib/common
parent4e8ef2a6239d3416b67438e4ab0c5ba9b92aa596 (diff)
Undo removal of syslog() header, still needed in this file.
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/DebugPrintf.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/common/DebugPrintf.cpp b/lib/common/DebugPrintf.cpp
index 14cd3534..8d75f458 100644
--- a/lib/common/DebugPrintf.cpp
+++ b/lib/common/DebugPrintf.cpp
@@ -14,6 +14,12 @@
#include <stdio.h>
#include <stdarg.h>
+#ifdef WIN32
+ #include "emu.h"
+#else
+ #include <syslog.h>
+#endif
+
#include "MemLeakFindOn.h"
// Use this apparently superflous printf function to avoid having to