First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / data-fd.c
index 47a0d99..1ada70f 100644 (file)
@@ -22,7 +22,9 @@
 #include <config.h>
 #endif
 
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #include <sys/types.h>
 
 #include "debug.h"