Include sys/sysctl.h after i3.h to prevent redefinition warnings caused by queue.h on OS X.
This commit is contained in:
parent
e562aeb338
commit
a76a81f80b
|
@ -21,10 +21,6 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#if defined(__APPLE__)
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/sysctl.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
@ -32,6 +28,10 @@
|
||||||
#include "libi3.h"
|
#include "libi3.h"
|
||||||
#include "shmlog.h"
|
#include "shmlog.h"
|
||||||
|
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
#include <sys/sysctl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool debug_logging = false;
|
static bool debug_logging = false;
|
||||||
static bool verbose = false;
|
static bool verbose = false;
|
||||||
static FILE *errorfile;
|
static FILE *errorfile;
|
||||||
|
|
Loading…
Reference in New Issue