First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / data.c
index be64ef0..0a62910 100644 (file)
@@ -23,7 +23,9 @@
 #endif
 
 #include <stdlib.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #include <errno.h>
 #include <string.h>