diff options
author | Werner Koch <[email protected]> | 2010-11-02 16:27:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-11-02 16:27:46 +0000 |
commit | 987993a38d12f6de052683711e673fa6bbbdae86 (patch) | |
tree | fd71f8e2a821a54a0f4c0b2243f5ad4c74683c97 /src/w32-glib-io.c | |
parent | 2010-10-28 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-987993a38d12f6de052683711e673fa6bbbdae86.tar.gz gpgme-987993a38d12f6de052683711e673fa6bbbdae86.zip |
First take on changes to allow building with MSC for W32CE.
Fixed regression in plain W32 build.
Diffstat (limited to 'src/w32-glib-io.c')
-rw-r--r-- | src/w32-glib-io.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/w32-glib-io.c b/src/w32-glib-io.c index ff21c3d8..6b7cd150 100644 --- a/src/w32-glib-io.c +++ b/src/w32-glib-io.c @@ -28,8 +28,12 @@ #include <assert.h> #include <errno.h> #include <fcntl.h> -#include <unistd.h> -#include <sys/time.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif #include <sys/types.h> #include <glib.h> #include <windows.h> |