aboutsummaryrefslogtreecommitdiff
path: root/src/usocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usocket.h')
-rw-r--r--src/usocket.h6
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
35typedef int t_socket; 37typedef int t_socket;
36typedef t_socket *p_socket; 38typedef t_socket *p_socket;
37 39