diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2009-05-27 09:31:38 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2009-05-27 09:31:38 +0000 |
commit | bce60be30fe8e9c1b0eb33128c23c93d7bca5303 (patch) | |
tree | 3927343c777fcb7764a0f2f89754a0ceab141c21 /src/usocket.h | |
parent | d1a72435d5bd3528f3c334cd4d1da16dcead47bf (diff) | |
download | luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.gz luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.bz2 luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.zip |
Decent makefiles!
Diffstat (limited to 'src/usocket.h')
-rw-r--r-- | src/usocket.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usocket.h b/src/usocket.h index e1f7498..75bfe82 100644 --- a/src/usocket.h +++ b/src/usocket.h | |||
@@ -3,8 +3,6 @@ | |||
3 | /*=========================================================================*\ | 3 | /*=========================================================================*\ |
4 | * Socket compatibilization module for Unix | 4 | * Socket compatibilization module for Unix |
5 | * LuaSocket toolkit | 5 | * LuaSocket toolkit |
6 | * | ||
7 | * RCS ID: $Id$ | ||
8 | \*=========================================================================*/ | 6 | \*=========================================================================*/ |
9 | 7 | ||
10 | /*=========================================================================*\ | 8 | /*=========================================================================*\ |
@@ -32,6 +30,10 @@ | |||
32 | /* TCP options (nagle algorithm disable) */ | 30 | /* TCP options (nagle algorithm disable) */ |
33 | #include <netinet/tcp.h> | 31 | #include <netinet/tcp.h> |
34 | 32 | ||
33 | #ifndef SO_REUSEPORT | ||
34 | #define SO_REUSEPORT SO_REUSEADDR | ||
35 | #endif | ||
36 | |||
35 | typedef int t_socket; | 37 | typedef int t_socket; |
36 | typedef t_socket *p_socket; | 38 | typedef t_socket *p_socket; |
37 | 39 | ||