  #      define ZEXPORT   __declspec(dllexport)
 diff -urN cmake-2.6.1/Utilities/cmzlib/zutil.h cmake-2.6.1-haiku/Utilities/cmzlib/zutil.h
 --- cmake-2.6.1/Utilities/cmzlib/zutil.h	2008-08-01 15:34:59.000000000 +0000
-+++ cmake-2.6.1-haiku/Utilities/cmzlib/zutil.h	2008-09-10 15:34:40.000000000 +0000
++++ cmake-2.6.1-haiku/Utilities/cmzlib/zutil.h	2008-09-12 15:07:34.000000000 +0000
 @@ -147,7 +147,13 @@
  #  define OS_CODE  0x0f
  #endif

 static inline void testProcess_usleep(unsigned int msec)
diff -urN cmake-2.6.1/Tests/Complex/Library/CMakeLists.txt cmake-2.6.1-haiku/Tests/Complex/Library/CMakeLists.txt
--- cmake-2.6.1/Tests/Complex/Library/CMakeLists.txt	2008-08-01 15:34:55.000000000 +0000
+++ cmake-2.6.1-haiku/Tests/Complex/Library/CMakeLists.txt	2008-09-10 15:34:37.000000000 +0000
@@ -53,7 +53,9 @@
   )
 SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES FOO BAR)

 #include <sys/socket.h>
diff -urN cmake-2.6.1/Utilities/cmcurl/select.c cmake-2.6.1-haiku/Utilities/cmcurl/select.c
--- cmake-2.6.1/Utilities/cmcurl/select.c	2008-08-01 15:34:57.000000000 +0000
+++ cmake-2.6.1-haiku/Utilities/cmcurl/select.c	2008-09-12 15:07:34.000000000 +0000
@@ -39,7 +39,7 @@
 #error "We can't compile without select() support!"
 #endif
