summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-22 18:02:48 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-25 13:26:20 (GMT)
commitd9d285c5ad2987ed4aa3ff89093818239781708f (patch)
treeed6a7ccaed5f1532202a02b34fbf25a5f317f732 /Utilities/cmjsoncpp
parent0d489fab194efdf77970cb981dc9b636c36da2ea (diff)
downloadCMake-d9d285c5ad2987ed4aa3ff89093818239781708f.zip
CMake-d9d285c5ad2987ed4aa3ff89093818239781708f.tar.gz
CMake-d9d285c5ad2987ed4aa3ff89093818239781708f.tar.bz2
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.
Diffstat (limited to 'Utilities/cmjsoncpp')
-rw-r--r--Utilities/cmjsoncpp/include/json/config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Utilities/cmjsoncpp/include/json/config.h b/Utilities/cmjsoncpp/include/json/config.h
index eb52e71..34f7314 100644
--- a/Utilities/cmjsoncpp/include/json/config.h
+++ b/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