diff options
Diffstat (limited to 'librabbitmq/win32/socket.h')
-rw-r--r-- | librabbitmq/win32/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/librabbitmq/win32/socket.h b/librabbitmq/win32/socket.h index 4572410..4353658 100644 --- a/librabbitmq/win32/socket.h +++ b/librabbitmq/win32/socket.h @@ -33,6 +33,7 @@ * ***** END LICENSE BLOCK ***** */ +#include "amqp_private.h" #include <winsock2.h> /* same as WSABUF */ @@ -45,7 +46,8 @@ int amqp_socket_init(void); #define amqp_socket_socket socket -#define amqp_socket_close closesocket +int +amqp_socket_close(int sockfd, AMQP_UNUSED void *user_data); int amqp_socket_setsockopt(int sock, int level, int optname, const void *optval, |