# HG changeset patch # User Sebastien Jodogne # Date 1584529303 -3600 # Node ID 920c7ffb1187a4bf60a2b4c5a1afd9cdfa43c164 # Parent 4e680e0e46c47c68334d4a179c9683b09a6a103a yet another try diff -r 4e680e0e46c4 -r 920c7ffb1187 Resources/Patches/dcmtk-3.6.5.patch --- a/Resources/Patches/dcmtk-3.6.5.patch Wed Mar 18 11:14:59 2020 +0100 +++ b/Resources/Patches/dcmtk-3.6.5.patch Wed Mar 18 12:01:43 2020 +0100 @@ -87,14 +87,13 @@ diff -urEb dcmtk-3.6.5.orig/oflog/libsrc/oflog.cc dcmtk-3.6.5/oflog/libsrc/oflog.cc --- dcmtk-3.6.5.orig/oflog/libsrc/oflog.cc 2020-03-18 10:22:41.547166798 +0100 -+++ dcmtk-3.6.5/oflog/libsrc/oflog.cc 2020-03-18 10:23:09.347082846 +0100 -@@ -19,6 +19,11 @@ ++++ dcmtk-3.6.5/oflog/libsrc/oflog.cc 2020-03-18 11:55:50.116856932 +0100 +@@ -19,6 +19,10 @@ * */ +#if defined(_WIN32) -+# include -+# define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ ++# include +#endif + #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */