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