changeset 3778:920c7ffb1187

yet another try
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Mar 2020 12:01:43 +0100
parents 4e680e0e46c4
children 64a095d133a8 df69a5fdc836
files Resources/Patches/dcmtk-3.6.5.patch
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <winsock.h>
-+#  define _WINSOCKAPI_   /* Prevent inclusion of winsock.h in windows.h */
++#  include <winsock2.h>
 +#endif
 +
  #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */