Browse Source

Added missing include.

bkaradzic 12 years ago
parent
commit
386323e9a6

+ 1 - 0
examples/common/entry/entry_android.cpp

@@ -7,6 +7,7 @@
 
 #if BX_PLATFORM_ANDROID
 
+#include <bgfxplatform.h>
 #include "entry_p.h"
 
 #include <stdio.h>

+ 2 - 0
examples/common/entry/entry_ios.mm

@@ -11,7 +11,9 @@
 #import <UIKit/UIKit.h>
 #import <QuartzCore/CAEAGLLayer.h>
 
+#include <bgfxplatform.h>
 #include "entry_p.h"
+
 #include <bx/uint32_t.h>
 #include <bx/thread.h>
 

+ 3 - 2
examples/common/entry/entry_linux.cpp

@@ -10,10 +10,11 @@
 #define XK_MISCELLANY
 #define XK_LATIN1
 #include <X11/keysymdef.h>
-#include <bgfxplatform.h>
-
 #undef None
+
+#include <bgfxplatform.h>
 #include "entry_p.h"
+
 #include <bx/thread.h>
 #include <bx/os.h>
 #include <string.h> // memset

+ 1 - 0
examples/common/entry/entry_nacl.cpp

@@ -7,6 +7,7 @@
 
 #if BX_PLATFORM_NACL
 
+#include <bgfxplatform.h>
 #include "entry_p.h"
 
 #include <stdio.h>

+ 2 - 0
examples/common/entry/entry_osx.mm

@@ -9,7 +9,9 @@
 
 #import <Cocoa/Cocoa.h>
 
+#include <bgfxplatform.h>
 #include "entry_p.h"
+
 #include <bx/uint32_t.h>
 #include <bx/thread.h>
 

+ 1 - 0
examples/common/entry/entry_windows.cpp

@@ -7,6 +7,7 @@
 
 #if BX_PLATFORM_WINDOWS
 
+#include <bgfxplatform.h>
 #include "entry_p.h"
 
 #include <bx/uint32_t.h>