diff options
Diffstat (limited to 'src/w32-sock-nonce.inc.h')
-rw-r--r-- | src/w32-sock-nonce.inc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/w32-sock-nonce.inc.h b/src/w32-sock-nonce.inc.h index 260c872..4b099ff 100644 --- a/src/w32-sock-nonce.inc.h +++ b/src/w32-sock-nonce.inc.h @@ -37,13 +37,15 @@ typedef struct assuan_sock_nonce_s assuan_sock_nonce_t; # ifndef AF_LOCAL # define AF_LOCAL AF_UNIX # endif -# define EADDRINUSE WSAEADDRINUSE +# ifndef EADDRINUSE +# define EADDRINUSE WSAEADDRINUSE +# endif struct sockaddr_un { short sun_family; unsigned short sun_port; struct in_addr sun_addr; - char sun_path[108-2-4]; + char sun_path[108-2-4]; }; #endif |