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/ath-pthread.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ath-pthread.c') diff --git a/src/ath-pthread.c b/src/ath-pthread.c index d6422999..9684afb2 100644 --- a/src/ath-pthread.c +++ b/src/ath-pthread.c @@ -24,11 +24,15 @@ #include #include -#include +#ifdef HAVE_UNISTD_H +# include +#endif #ifdef HAVE_SYS_SELECT_H # include #else -# include +# ifdef HAVE_SYS_TIME_H +# include +# endif #endif #include #include -- cgit v1.2.3