Issue #970: Rename features.h to json_features.h (#1024)
This patch fixes a build issue on CMake, presumably due to the new glibc
having a features.h include file. This patch renames our features.h file
to avoid a name collision.
diff --git a/include/json/forwards.h b/include/json/forwards.h
index 958b5bc..b0d981b 100644
--- a/include/json/forwards.h
+++ b/include/json/forwards.h
@@ -25,7 +25,7 @@
class CharReader;
class CharReaderBuilder;
-// features.h
+// json_features.h
class Features;
// value.h
diff --git a/include/json/json.h b/include/json/json.h
index 19f14c2..f1b679a 100644
--- a/include/json/json.h
+++ b/include/json/json.h
@@ -7,7 +7,7 @@
#define JSON_JSON_H_INCLUDED
#include "autolink.h"
-#include "features.h"
+#include "json_features.h"
#include "reader.h"
#include "value.h"
#include "writer.h"
diff --git a/include/json/features.h b/include/json/json_features.h
similarity index 100%
rename from include/json/features.h
rename to include/json/json_features.h
diff --git a/include/json/reader.h b/include/json/reader.h
index 8b388b0..fb2365a 100644
--- a/include/json/reader.h
+++ b/include/json/reader.h
@@ -7,7 +7,7 @@
#define CPPTL_JSON_READER_H_INCLUDED
#if !defined(JSON_IS_AMALGAMATION)
-#include "features.h"
+#include "json_features.h"
#include "value.h"
#endif // if !defined(JSON_IS_AMALGAMATION)
#include <deque>