summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-18 19:08:17 -0500
committerLioncash <mathew1800@gmail.com>2014-02-18 19:08:17 -0500
commitedb43cfe616da48711a3fe5d32d06b9079b2d908 (patch)
treed2fac2eadbe9059d0034b9c45d4dd426a6acfc6f /Source/Core/DolphinWX/Frame.cpp
parenteee549f92b34188b6011a5a253e22f8af1d084f2 (diff)
Fix the OSX build.
Turns out Dolphin uses some macros that clash on OSX. However thankfully, this include is only used in Frame.cpp.
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 194699b024..11e444bc8c 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -10,6 +10,10 @@
// m_Panel. The new child window handle that is returned by CreateWindow() can
// be accessed from Core::GetWindowHandle().
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+
#include <wx/datetime.h>
#include "Common/Common.h"
@@ -43,7 +47,6 @@ extern "C" {
#include "DolphinWX/resources/Dolphin.c" // Dolphin icon
};
-
#ifdef _WIN32
// I could not use FindItemByHWND() instead of this, it crashed on that occasion I used it */
HWND MSWGetParent_(HWND Parent)