Fix last change for Windows.

This commit is contained in:
Werner Koch 2009-10-07 11:17:57 +00:00
parent 35b25decde
commit aa747b1575
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-10-07 <wk@g10code.com>
* priv-io.h [W32]: Include windows.h instead of sys/socket.h.
2009-08-06 Werner Koch <wk@g10code.com>
* op-support.c (_gpgme_parse_inv_recp): Allow for no fingerprint.

View File

@ -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