Branimir Karadžić 8 years ago
parent
commit
61be03a1d3
2 changed files with 6 additions and 2 deletions
  1. 4 2
      examples/common/entry/entry_windows.cpp
  2. 2 0
      src/bgfx.cpp

+ 4 - 2
examples/common/entry/entry_windows.cpp

@@ -9,11 +9,13 @@
 
 #include <bgfx/platform.h>
 
-#include <bx/uint32_t.h>
-#include <bx/thread.h>
 #include <bx/mutex.h>
 #include <bx/handlealloc.h>
+#include <bx/os.h>
+#include <bx/thread.h>
 #include <bx/timer.h>
+#include <bx/uint32_t.h>
+
 #include <tinystl/allocator.h>
 #include <tinystl/string.h>
 

+ 2 - 0
src/bgfx.cpp

@@ -20,6 +20,8 @@
 #endif // BGFX_CONFIG_PROFILER_REMOTERY_BUILD_LIB
 
 #include <bx/crtimpl.h>
+#include <bx/mutex.h>
+
 #include "topology.h"
 
 BX_ERROR_RESULT(BGFX_ERROR_TEXTURE_VALIDATION,  BX_MAKEFOURCC('b', 'g', 0, 1) );