X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69b5cec2b0993ce4cd56f2e50ab94e5ebd20069c..544bdbbee2c81c8ab3a69e100bbd441b6461d609:/src/mac/carbon/helpxxxx.cpp?ds=inline

diff --git a/src/mac/carbon/helpxxxx.cpp b/src/mac/carbon/helpxxxx.cpp
index 7d0e4d1531..e330ce2d79 100644
--- a/src/mac/carbon/helpxxxx.cpp
+++ b/src/mac/carbon/helpxxxx.cpp
@@ -9,10 +9,12 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "helpxxxx.h"
 #endif
 
+#include "wx/wxprec.h"
+
 #include "wx/stubs/helpxxxx.h"
 
 #include <string.h>