From 542a6e7f1e0bd3b734927ffa92fe0683dec0a559 Mon Sep 17 00:00:00 2001
From: aavit <qt-info@nokia.com>
Date: Sat, 2 Apr 2011 10:32:22 +0200
Subject: Compilation fix for WinCE

---
 src/3rdparty/zlib/zconf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/3rdparty/zlib/zconf.h b/src/3rdparty/zlib/zconf.h
index 02ce56c..0105ca4 100644
--- a/src/3rdparty/zlib/zconf.h
+++ b/src/3rdparty/zlib/zconf.h
@@ -360,7 +360,7 @@ typedef uLong FAR uLongf;
 #  define Z_HAVE_UNISTD_H
 #endif
 
-#ifdef STDC
+#if defined(STDC) && !defined(_WIN32_WCE)
 #  include <sys/types.h>    /* for off_t */
 #endif
 
-- 
cgit v0.12

