First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / w32-sema.c
index 6a5137d..3396104 100644 (file)
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
 #include <sys/types.h>
-#include <windows.h>
 #include <io.h>
 
 #include "util.h"