vcpkg/ports/valijson/fix-picojson.patch

35 lines
1012 B
Diff
Raw Normal View History

2019-05-09 04:32:57 +08:00
diff --git a/include/valijson/adapters/picojson_adapter.hpp b/include/valijson/adapters/picojson_adapter.hpp
index 4f5e5b6..0da2bf2 100644
2019-05-09 04:32:57 +08:00
--- a/include/valijson/adapters/picojson_adapter.hpp
+++ b/include/valijson/adapters/picojson_adapter.hpp
@@ -29,10 +29,10 @@
2019-05-09 04:32:57 +08:00
#ifdef _MSC_VER
#pragma warning(disable: 4706)
-#include <picojson.h>
+#include <picojson/picojson.h>
#pragma warning(default: 4706)
#else
2019-05-09 04:32:57 +08:00
-#include <picojson.h>
+#include <picojson/picojson.h>
#endif
2019-05-09 04:32:57 +08:00
#include <valijson/adapters/adapter.hpp>
diff --git a/include/valijson/utils/picojson_utils.hpp b/include/valijson/utils/picojson_utils.hpp
index 36420d2..8660c30 100644
2019-05-09 04:32:57 +08:00
--- a/include/valijson/utils/picojson_utils.hpp
+++ b/include/valijson/utils/picojson_utils.hpp
@@ -4,10 +4,10 @@
2019-05-09 04:32:57 +08:00
#ifdef _MSC_VER
#pragma warning(disable: 4706)
2019-05-09 04:32:57 +08:00
-#include <picojson.h>
+#include <picojson/picojson.h>
#pragma warning(default: 4706)
#else
-#include <picojson.h>
+#include <picojson/picojson.h>
#endif
2019-05-09 04:32:57 +08:00
#include <valijson/utils/file_utils.hpp>