소스 검색

jsoncpp: Include "config.h" before system headers

Brad King 10 년 전
부모
커밋
84d5674d4e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)                                                 \