]> git.saurik.com Git - wxWidgets.git/commitdiff
don't include headers not needed when wxUSE_GUI == 0
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2004 16:10:46 +0000 (16:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2004 16:10:46 +0000 (16:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/utils.cpp

index cf7d76b624b031ab9fcd4e9f1d2e882d764c5a53..3e999b65e710783333b69f1a4d9dbf876285f91d 100644 (file)
@@ -40,6 +40,7 @@
 #include <Sound.h>
 #endif
 
+#if wxUSE_GUI
 #if TARGET_API_MAC_OSX
 #include <CoreServices/CoreServices.h>
 #else
@@ -50,6 +51,7 @@
 #include <ATSUnicode.h>
 #include <TextCommon.h>
 #include <TextEncodingConverter.h>
+#endif // wxUSE_GUI
 
 #include  "wx/mac/private.h"  // includes mac headers