]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/sidechannel.c
Merge changes from CUPS 1.4svn-r8639.
[thirdparty/cups.git] / cups / sidechannel.c
index 92aeb9d9bdeab5d9bffb6340b40cc8b358c63914..0f51fd1bd24ee1efac096495224fb2c844a5f6b4 100644 (file)
 #include "sidechannel.h"
 #include "string.h"
 #include "debug.h"
-#include <unistd.h>
+#ifdef WIN32
+#  include <io.h>
+#else
+#  include <unistd.h>
+#endif /* WIN32 */
 #include <errno.h>
 #ifdef __hpux
 #  include <sys/time.h>
-#else
+#elif !defined(WIN32)
 #  include <sys/select.h>
 #endif /* __hpux */
 #ifndef WIN32