diff options
Diffstat (limited to 'src/inet.h')
-rw-r--r-- | src/inet.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,10 @@ | |||
19 | #include <lua.h> | 19 | #include <lua.h> |
20 | #include "socket.h" | 20 | #include "socket.h" |
21 | 21 | ||
22 | #ifdef WIN32 | ||
23 | #define INET_ATON | ||
24 | #endif | ||
25 | |||
22 | void inet_open(lua_State *L); | 26 | void inet_open(lua_State *L); |
23 | const char *inet_tryconnect(p_sock ps, const char *address, | 27 | const char *inet_tryconnect(p_sock ps, const char *address, |
24 | unsigned short port); | 28 | unsigned short port); |