Browse Source

jsoncpp: Include "config.h" before system headers

Brad King 10 năm trước cách đây
mục cha
commit
84d5674d4e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Utilities/cmjsoncpp/include/json/assertions.h

+ 2 - 2
Utilities/cmjsoncpp/include/json/assertions.h

@@ -6,12 +6,12 @@
 #ifndef CPPTL_JSON_ASSERTIONS_H_INCLUDED
 #define CPPTL_JSON_ASSERTIONS_H_INCLUDED
 
-#include <stdlib.h>
-
 #if !defined(JSON_IS_AMALGAMATION)
 #include "config.h"
 #endif // if !defined(JSON_IS_AMALGAMATION)
 
+#include <stdlib.h>
+
 #if JSON_USE_EXCEPTION
 #include <stdexcept>
 #define JSON_ASSERT(condition)                                                 \