changeset 4359:074f37013186

fix ZipReader.cpp for msvc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Dec 2020 16:48:58 +0100
parents d6929f052ec4
children 4301722b3225
files OrthancFramework/Sources/Compression/ZipReader.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Compression/ZipReader.cpp	Tue Dec 08 15:22:28 2020 +0100
+++ b/OrthancFramework/Sources/Compression/ZipReader.cpp	Tue Dec 08 16:48:58 2020 +0100
@@ -35,6 +35,10 @@
 #  include "../SystemToolbox.h"
 #endif
 
+#if defined(_MSC_VER)
+#  include <BaseTsd.h>   // Definition of ssize_t
+#endif
+
 #include <string.h>