diff options
author | Diego Nehab <diego@impa.br> | 2012-12-11 16:35:27 -0200 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2012-12-11 16:35:27 -0200 |
commit | 618ce43ee3950b80aca1fde0a5b12e6e13627f1b (patch) | |
tree | fc97079e13e071593086a3d6aa5b090b96c744a3 /src/wsocket.h | |
parent | 66670c354146feb8c9603f10682fabcba44a05a9 (diff) | |
download | luasocket-618ce43ee3950b80aca1fde0a5b12e6e13627f1b.tar.gz luasocket-618ce43ee3950b80aca1fde0a5b12e6e13627f1b.tar.bz2 luasocket-618ce43ee3950b80aca1fde0a5b12e6e13627f1b.zip |
Fix socket_accept usage to depend on family.
Diffstat (limited to 'src/wsocket.h')
-rw-r--r-- | src/wsocket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wsocket.h b/src/wsocket.h index 8e0f114..0783b00 100644 --- a/src/wsocket.h +++ b/src/wsocket.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <ws2tcpip.h> | 12 | #include <ws2tcpip.h> |
13 | 13 | ||
14 | typedef int socklen_t; | 14 | typedef int socklen_t; |
15 | typedef SOCKADDR_STORAGE t_sockaddr_storage; | ||
15 | typedef SOCKET t_socket; | 16 | typedef SOCKET t_socket; |
16 | typedef t_socket *p_socket; | 17 | typedef t_socket *p_socket; |
17 | 18 | ||