aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gdcm/include-no-namespace.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gdcm/include-no-namespace.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/gdcm/include-no-namespace.diff')
-rw-r--r--vcpkg/ports/gdcm/include-no-namespace.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/gdcm/include-no-namespace.diff b/vcpkg/ports/gdcm/include-no-namespace.diff
new file mode 100644
index 0000000..86c3633
--- /dev/null
+++ b/vcpkg/ports/gdcm/include-no-namespace.diff
@@ -0,0 +1,22 @@
+diff --git a/Source/Common/gdcmFilename.cxx b/Source/Common/gdcmFilename.cxx
+index 5384510..9c99f94 100644
+--- a/Source/Common/gdcmFilename.cxx
++++ b/Source/Common/gdcmFilename.cxx
+@@ -16,6 +16,9 @@
+ #include <climits>
+ #include <cstdlib> // realpath
+ #include <cstring>
++#ifdef _WIN32
++# include <windows.h>
++#endif
+
+ namespace gdcm
+ {
+@@ -97,7 +100,6 @@ const char *Filename::ToUnixSlashes()
+ }
+
+ #if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
+-#include <windows.h>
+
+ inline void Realpath(const char *path, std::string & resolved_path)
+ {