First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / data-mem.c
index 7be72bffe5baeb4110c71ebc7a80d4abc1b1ed85..eda695a402279d81928d946013c3814470f3cc6c 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>