diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-14 11:57:17 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-14 11:57:17 +0100 | 
| commit | 136c2bb632715ab83710c93c7b339c5cca7d2679 (patch) | |
| tree | 8838121095447b64d597b0688a431f5679f93e78 | |
| parent | ac2717b6a60900d31236b7696f150d0120bda3da (diff) | |
Fix the libevent-specific compiler warning about closesocket().
| -rw-r--r-- | sock.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| @@ -12,6 +12,8 @@  #define sockerr_again() (errno == EINPROGRESS || errno == EINTR)  #ifndef EVENTS_LIBEVENT  #define closesocket(a) close(a) +#else +void closesocket( int fd );  #endif  #else  # include <winsock2.h> | 
