First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / data-compat.c
index 76d6cd0..0843ffd 100644 (file)
@@ -23,7 +23,9 @@
 #endif
 
 #include <errno.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
 #include <sys/stat.h>
 #include <stdlib.h>