]> git.sur5r.net Git - i3/i3/commitdiff
Include sys/sysctl.h after i3.h to prevent redefinition warnings caused by queue...
authorMarcus Crestani <crestani@informatik.uni-tuebingen.de>
Wed, 11 Jun 2014 18:53:22 +0000 (20:53 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 11 Jun 2014 21:27:02 +0000 (23:27 +0200)
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;