From 64cf26a0e9247a3127d2fe01bd27c86a4e1fbb01 Mon Sep 17 00:00:00 2001
From: Danny Smith <dannysmith@users.sourceforge.net>
Date: Mon, 19 Sep 2005 10:32:51 +0000
Subject: [PATCH] 	* include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define. 
 Thanks to Gisle Vanem  <giva at bgnett dot no>

---
 winsup/w32api/ChangeLog          | 5 +++++
 winsup/w32api/include/winsock2.h | 1 +
 2 files changed, 6 insertions(+)

diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 48e7d3f90..10663728f 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-19  Danny Smith  <dannysmith@users.sourceforge.net>
+
+	* include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define.
+	Thanks to: Gisle Vanem  <giva at bgnett dot no>
+
 2005-09-08  Dimitri Papadopoulos  <papadopo@users.sourceforge.net>
 
 	* include/reason.h  [_WIN32_WINNT >= 0x0501]
diff --git a/winsup/w32api/include/winsock2.h b/winsup/w32api/include/winsock2.h
index 2129d5121..64016f3ea 100644
--- a/winsup/w32api/include/winsock2.h
+++ b/winsup/w32api/include/winsock2.h
@@ -274,6 +274,7 @@ typedef WSADATA *LPWSADATA;
 #define SO_LINGER	128
 #define SO_OOBINLINE	256
 #define SO_DONTLINGER	(u_int)(~SO_LINGER)
+#define SO_EXCLUSIVEADDRUSE ((u_int)(~SO_REUSEADDR))
 #define SO_SNDBUF	0x1001
 #define SO_RCVBUF	0x1002
 #define SO_SNDLOWAT	0x1003