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-sema.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/posix-sema.c') diff --git a/src/posix-sema.c b/src/posix-sema.c index 4ec3abb0..7ab08dfd 100644 --- a/src/posix-sema.c +++ b/src/posix-sema.c @@ -29,8 +29,12 @@ #include #include #include -#include -#include +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include "util.h" -- cgit v1.2.3