Jelajahi Sumber

jsoncpp: Include "config.h" before system headers

Brad King 10 tahun lalu
induk
melakukan
84d5674d4e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)                                                 \