X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a3ea4ead89a97b4dcc6a1fdc8c48119bdaabc23..c579ac6280f819e8e6fb2adf80d345d84b0bfcfe:/include/wx/osx/private.h?ds=sidebyside

diff --git a/include/wx/osx/private.h b/include/wx/osx/private.h
index 89cc04313e..d3a75084d5 100644
--- a/include/wx/osx/private.h
+++ b/include/wx/osx/private.h
@@ -1,9 +1,12 @@
 /* common warning snippet for all osx direct includes */
 
 #ifndef wxOSX_USE_CARBON
-#error "this files should only be included after platform.h was included
+#error "this files should only be included after platform.h was included"
 #endif
 
+#ifndef _WX_PRIVATE_OSX_H_
+#define _WX_PRIVATE_OSX_H_
+
 #if wxOSX_USE_IPHONE
     #include "wx/osx/iphone/private.h"
 #elif wxOSX_USE_CARBON
@@ -11,3 +14,5 @@
 #elif wxOSX_USE_COCOA
     #include "wx/osx/cocoa/private.h"
 #endif
+
+#endif
\ No newline at end of file