diff options
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -9,13 +9,10 @@ | |||
9 | #include <lua.h> | 9 | #include <lua.h> |
10 | #include <lauxlib.h> | 10 | #include <lauxlib.h> |
11 | 11 | ||
12 | #include "luasocket.h" | ||
13 | |||
14 | #include "auxiliar.h" | 12 | #include "auxiliar.h" |
15 | #include "socket.h" | 13 | #include "socket.h" |
16 | #include "inet.h" | 14 | #include "inet.h" |
17 | #include "options.h" | 15 | #include "options.h" |
18 | #include "base.h" | ||
19 | #include "udp.h" | 16 | #include "udp.h" |
20 | 17 | ||
21 | /*=========================================================================*\ | 18 | /*=========================================================================*\ |
@@ -51,7 +48,7 @@ static luaL_reg udp[] = { | |||
51 | {"close", meth_close}, | 48 | {"close", meth_close}, |
52 | {"setoption", meth_setoption}, | 49 | {"setoption", meth_setoption}, |
53 | {"__gc", meth_close}, | 50 | {"__gc", meth_close}, |
54 | {"__tostring", base_meth_tostring}, | 51 | {"__tostring", aux_tostring}, |
55 | {"getfd", meth_getfd}, | 52 | {"getfd", meth_getfd}, |
56 | {"setfd", meth_setfd}, | 53 | {"setfd", meth_setfd}, |
57 | {"dirty", meth_dirty}, | 54 | {"dirty", meth_dirty}, |