First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / engine-gpg.c
index da66d4d..f163f0f 100644 (file)
@@ -27,7 +27,9 @@
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #ifdef HAVE_LOCALE_H
 #include <locale.h>
 #endif