diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index 625af0fedc..8931e1ceab 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -21,6 +21,10 @@ #pragma implementation "MainFrame.h" #endif +#ifdef __APPLE__ +#include "mac/MacGUI.pch" +#endif + #include "stdwx.h" #include "hyperlink.h" #include "network.h" diff --git a/clientgui/Makefile.am b/clientgui/Makefile.am index 474d6e77db..4555afb500 100644 --- a/clientgui/Makefile.am +++ b/clientgui/Makefile.am @@ -7,11 +7,13 @@ LIBS += @CLIENTLIBS@ if OS_DARWIN - LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa + LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa -framework Security mac_sources = mac/SystemMenu.m \ mac/mac_saver_module.cpp \ mac/Mac_Saver_ModuleView.m \ - mac/MacSysMenu.cpp + mac/MacSysMenu.cpp \ + mac/Mac_GUI.cpp + mac_headers = mac/*.h else mac_headers =