summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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>