diff options
author | Werner Koch <[email protected]> | 2009-10-07 11:17:57 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-10-07 11:17:57 +0000 |
commit | aa747b1575672bf10ae9f164f41ae10c0cba9519 (patch) | |
tree | c1c883e6badb48ac2b1c1656a891f89723307baf /src/priv-io.h | |
parent | Better detection for signature creation failure. (diff) | |
download | gpgme-aa747b1575672bf10ae9f164f41ae10c0cba9519.tar.gz gpgme-aa747b1575672bf10ae9f164f41ae10c0cba9519.zip |
Fix last change for Windows.
Diffstat (limited to 'src/priv-io.h')
-rw-r--r-- | src/priv-io.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/priv-io.h b/src/priv-io.h index 3f2f96ac..8d216955 100644 --- a/src/priv-io.h +++ b/src/priv-io.h @@ -22,7 +22,11 @@ #ifndef IO_H #define IO_H -#include <sys/socket.h> +#ifdef HAVE_W32_SYSTEM +# include <windows.h> +#else +# include <sys/socket.h> +#endif /* A single file descriptor passed to spawn. For child fds, dup_to specifies the fd it should become in the child, but only 0, 1 and 2 |