1
0
Эх сурвалжийг харах

jsoncpp: Fix include order for build within CMake

Include the KWSys `Configure.h` header first to get its large file
support definitions before including system headers.
Brad King 7 жил өмнө
parent
commit
d9d285c5ad

+ 4 - 3
Utilities/cmjsoncpp/include/json/config.h

@@ -5,13 +5,14 @@
 
 #ifndef JSON_CONFIG_H_INCLUDED
 #define JSON_CONFIG_H_INCLUDED
-#include <stddef.h>
-#include <string> //typedef String
-#include <stdint.h> //typedef int64_t, uint64_t
 
 // Include KWSys Large File Support configuration.
 #include <cmsys/Configure.h>
 
+#include <stddef.h>
+#include <string> //typedef String
+#include <stdint.h> //typedef int64_t, uint64_t
+
 #if defined(_MSC_VER)
 # pragma warning(push,1)
 #endif