yuzu-early/externals/vcpkg/ports/valijson/fix-picojson.patch

35 lines
1012 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/include/valijson/adapters/picojson_adapter.hpp b/include/valijson/adapters/picojson_adapter.hpp
index 4f5e5b6..0da2bf2 100644
--- a/include/valijson/adapters/picojson_adapter.hpp
+++ b/include/valijson/adapters/picojson_adapter.hpp
@@ -29,10 +29,10 @@
#ifdef _MSC_VER
#pragma warning(disable: 4706)
-#include <picojson.h>
+#include <picojson/picojson.h>
#pragma warning(default: 4706)
#else
-#include <picojson.h>
+#include <picojson/picojson.h>
#endif
#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
--- a/include/valijson/utils/picojson_utils.hpp
+++ b/include/valijson/utils/picojson_utils.hpp
@@ -4,10 +4,10 @@
#ifdef _MSC_VER
#pragma warning(disable: 4706)
-#include <picojson.h>
+#include <picojson/picojson.h>
#pragma warning(default: 4706)
#else
-#include <picojson.h>
+#include <picojson/picojson.h>
#endif
#include <valijson/utils/file_utils.hpp>