summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h b/Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h
index f2a89aa0d21..8b3241bf3c2 100644
--- a/Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h
+++ b/Build/source/texk/web2c/luatexdir/luasocket/src/usocket.h
@@ -3,8 +3,6 @@
/*=========================================================================*\
* Socket compatibilization module for Unix
* LuaSocket toolkit
-*
-* RCS ID: $Id: usocket.h,v 1.7 2005/10/07 04:40:59 diego Exp $
\*=========================================================================*/
/*=========================================================================*\
@@ -32,8 +30,13 @@
/* TCP options (nagle algorithm disable) */
#include <netinet/tcp.h>
+#ifndef SO_REUSEPORT
+#define SO_REUSEPORT SO_REUSEADDR
+#endif
+
typedef int t_socket;
typedef t_socket *p_socket;
+typedef struct sockaddr_storage t_sockaddr_storage;
#define SOCKET_INVALID (-1)