summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-02 10:36:28 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-02 10:36:28 +0200
commit081f579ba1bbeea4dff7f08b53c44e68df2530c0 (patch)
tree0bdc4b51fe5b1c245000017cefd5c5831c250972 /src
parent4b0ccb0437576c2d87be07b9865ff78a1c5f0c15 (diff)
OSX compilation fixes
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc4
-rw-r--r--src/main.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 055ba22d..5d9ab6e1 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -17,10 +17,6 @@
#include "event_manager.hh"
#include "color_registry.hh"
-#if defined(__APPLE__)
-#include <mach-o/dyld.h>
-#endif
-
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/src/main.cc b/src/main.cc
index 2aeeb77a..642800d6 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -20,6 +20,10 @@
#include "string.hh"
#include "color_registry.hh"
+#if defined(__APPLE__)
+#include <mach-o/dyld.h>
+#endif
+
#include <unordered_map>
#include <sys/types.h>
#include <sys/wait.h>