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.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/ath.c') diff --git a/src/ath.c b/src/ath.c index 803dedbb..a303ffc2 100644 --- a/src/ath.c +++ b/src/ath.c @@ -23,17 +23,26 @@ #endif #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 #ifndef HAVE_W32_SYSTEM #include #endif +#ifdef _MSC_VER + typedef long ssize_t; + typedef int pid_t; +#endif + #include "ath.h" -- cgit v1.2.3