Browse Source

fix for compiling with gcc 6.1.1 on Arch Linux

ctrauma 9 years ago
parent
commit
c5ffef5d5a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/ThirdParty/TurboBadger/thirdparty/stb_image.h

+ 2 - 0
Source/ThirdParty/TurboBadger/thirdparty/stb_image.h

@@ -354,7 +354,9 @@ STBIDEF void stbi_install_YCbCr_to_RGB(stbi_YCbCr_to_RGB_run func);
 #ifndef STBI_NO_STDIO
 #include <stdio.h>
 #endif
+#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
 #include <stdlib.h>
+#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
 #include <string.h>
 #ifndef STBI_ASSERT
 #include <assert.h>