diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-22 17:41:08 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-22 17:41:08 -0800 |
commit | c79527b7846eeba94eaccaab6a5ee7079255e6f2 (patch) | |
tree | 9abc643b0d644e1fce641d248db1b70feb088adb /src/luasocket | |
parent | 70a2e1db1dd4e4aa0c01e2dfb50499123d69967c (diff) | |
download | teliva-c79527b7846eeba94eaccaab6a5ee7079255e6f2.tar.gz |
delete final vestiges of embedded luasocket
Diffstat (limited to 'src/luasocket')
-rw-r--r-- | src/luasocket/usocket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/luasocket/usocket.h b/src/luasocket/usocket.h index 45f2f99..3da449b 100644 --- a/src/luasocket/usocket.h +++ b/src/luasocket/usocket.h @@ -31,6 +31,11 @@ #include <netinet/tcp.h> #include <net/if.h> +#include <sys/poll.h> +#define WAITFD_R POLLIN +#define WAITFD_W POLLOUT +#define WAITFD_C (POLLIN|POLLOUT) + #ifndef SO_REUSEPORT #define SO_REUSEPORT SO_REUSEADDR #endif |