diff options
Diffstat (limited to 'client/libacron/private/connection.h')
-rw-r--r-- | client/libacron/private/connection.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/libacron/private/connection.h b/client/libacron/private/connection.h index ad65b11..04d7639 100644 --- a/client/libacron/private/connection.h +++ b/client/libacron/private/connection.h @@ -5,10 +5,15 @@ #ifndef LIBAC_CONNECTION_H #define LIBAC_CONNECTION_H +#include "win32.h" #include "wic.h" #include "libac.h" #include <stdbool.h> +#ifdef WIN32 +#include <winsock2.h> +#endif + /** * Used to transfer deserialization result from receive handler to ac_receive(). */ @@ -24,7 +29,7 @@ struct ac_result { struct ac_connection { ac_connection_parameters_t parameters; struct wic_inst inst; - int fd; + SOCKET fd; bool established; /* Result from message handler. * Message handling will happen at the same thread as ac_receive (lib wic). */ |