Brit Fasy's fix to compile with logging=on dev
authorDmitriy Morozov <dmitriy@mrzv.org>
Fri, 09 Aug 2013 15:08:23 -0700
branchdev
changeset 277 b4fd8880a09a
parent 276 4e136f6afbb5
child 278 7479c3f0fc6b
Brit Fasy's fix to compile with logging=on
include/utilities/log.h
--- a/include/utilities/log.h	Wed Jul 10 14:39:29 2013 -0700
+++ b/include/utilities/log.h	Fri Aug 09 15:08:23 2013 -0700
@@ -1,6 +1,8 @@
 #ifndef __LOG_H__
 #define __LOG_H__
 
+#include <unistd.h>		// for STDOUT_FILENO and STDERR_FILENO
+
 #if LOGGING
 
 #define RLOG_COMPONENT dionysus
@@ -19,8 +21,6 @@
 	
 #else // LOGGING
 
-#include <unistd.h>		// for STDOUT_FILENO and STDERR_FILENO
-
 #define rDebug(...)
 #define rInfo(...)
 #define rWarning(...)