From 987993a38d12f6de052683711e673fa6bbbdae86 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 2 Nov 2010 16:27:46 +0000 Subject: First take on changes to allow building with MSC for W32CE. Fixed regression in plain W32 build. --- src/posix-io.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/posix-io.c') diff --git a/src/posix-io.c b/src/posix-io.c index 5c3def03..762051e7 100644 --- a/src/posix-io.c +++ b/src/posix-io.c @@ -28,8 +28,12 @@ #include #include #include -#include -#include +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include #ifdef HAVE_SYS_UIO_H @@ -37,7 +41,6 @@ #endif #include #include -#include #include "util.h" #include "priv-io.h" -- cgit v1.2.3