Index: cmakeconfig.h.in
===================================================================
--- cmakeconfig.h.in	(revision 53524)
+++ cmakeconfig.h.in	(working copy)
@@ -261,14 +261,18 @@
 /* Define to 1 if you have the <stdint.h> header file. */
 #cmakedefine HAVE_STDINT_H 1
 
+#if !defined(_WIN32)
 /* Define to 1 if you have the <stdlib.h> header file. */
 #cmakedefine HAVE_STDLIB_H 1
+#endif
 
 /* Define to 1 if you have the <strings.h> header file. */
 #cmakedefine HAVE_STRINGS_H 1
 
+#if !defined(_WIN32)
 /* Define to 1 if you have the <string.h> header file. */
 #cmakedefine HAVE_STRING_H 1
+#endif
 
 /* Define if st_flags field exists in struct stat */
 #cmakedefine HAVE_ST_FLAGS 1
@@ -318,8 +322,10 @@
 /* Define to 1 if you have the <winsock2.h> header file. */
 #cmakedefine HAVE_WINSOCK2_H 1
 
+#if !defined(_WIN32)
 /* HTML viewer, e.g. mozilla */
 #cmakedefine HTML_VIEWER
+#endif
 
 /* Define if inet/v6defs.h needs to be included */
 #cmakedefine NEED_INET_V6DEFS_H 1
