diff options
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,7 @@ | |||
15 | #include "socket.h" | 15 | #include "socket.h" |
16 | #include "inet.h" | 16 | #include "inet.h" |
17 | #include "options.h" | 17 | #include "options.h" |
18 | #include "base.h" | ||
18 | #include "udp.h" | 19 | #include "udp.h" |
19 | 20 | ||
20 | /*=========================================================================*\ | 21 | /*=========================================================================*\ |
@@ -50,6 +51,7 @@ static luaL_reg udp[] = { | |||
50 | {"close", meth_close}, | 51 | {"close", meth_close}, |
51 | {"setoption", meth_setoption}, | 52 | {"setoption", meth_setoption}, |
52 | {"__gc", meth_close}, | 53 | {"__gc", meth_close}, |
54 | {"__tostring", base_meth_tostring}, | ||
53 | {"getfd", meth_getfd}, | 55 | {"getfd", meth_getfd}, |
54 | {"setfd", meth_setfd}, | 56 | {"setfd", meth_setfd}, |
55 | {"dirty", meth_dirty}, | 57 | {"dirty", meth_dirty}, |