summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2019-09-16 11:34:12 +0200
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2019-09-16 11:34:12 +0200
commitc5d9d87dfd3db1825478c91fa28b6eb8545e6c5d (patch)
treeb7ea0536a84de2aca4ca17130908598bfa43aa5a /src/osd
parentfffed2ea0d0539c40e6b3ae76709cdf0d0ef0980 (diff)
Fix compile (nw)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/monitor/monitor_mac.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/osd/modules/monitor/monitor_mac.cpp b/src/osd/modules/monitor/monitor_mac.cpp
index 34afc7fb794..338911cafdb 100644
--- a/src/osd/modules/monitor/monitor_mac.cpp
+++ b/src/osd/modules/monitor/monitor_mac.cpp
@@ -12,12 +12,11 @@
#include "modules/osdmodule.h"
#include "monitor_module.h"
+#if defined(OSD_MAC)
+
#include <CoreFoundation/CoreFoundation.h>
#include <CoreGraphics/CoreGraphics.h>
-#define OSD_MAC 1
-#if defined(OSD_MAC)
-
#include <algorithm>
#include "modules/osdwindow.h"