]> git.sur5r.net Git - i3/i3/blobdiff - src/log.c
Include sys/sysctl.h after i3.h to prevent redefinition warnings caused by queue...
[i3/i3] / src / log.c
index ec44f3ae963804fada28edff9ead570837ba6e05..10149081ed3e54f574f91598fa97c226f2a8df3d 100644 (file)
--- a/src/log.c
+++ b/src/log.c
 #include <sys/stat.h>
 #include <errno.h>
 #include <pthread.h>
-#if defined(__APPLE__)
-#include <sys/types.h>
-#include <sys/sysctl.h>
-#endif
 
 #include "util.h"
 #include "log.h"
 #include "libi3.h"
 #include "shmlog.h"
 
+#if defined(__APPLE__)
+#include <sys/sysctl.h>
+#endif
+
 static bool debug_logging = false;
 static bool verbose = false;
 static FILE *errorfile;