about summary refs log tree commit diff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-15 19:16:10 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-15 19:16:10 -0500
commit91738d0241aed345cac8685422d4518ea5f3cdf0 (patch)
treef85929e795fc4bdb1f9e3de1830bc0d317ecc153 /include/sys/socket.h
parent7491bac33e0a14718e698a971b5bae79c9ac59ee (diff)
downloadmusl-91738d0241aed345cac8685422d4518ea5f3cdf0.tar.gz
musl-91738d0241aed345cac8685422d4518ea5f3cdf0.tar.xz
musl-91738d0241aed345cac8685422d4518ea5f3cdf0.zip
disable SO_REUSEPORT in sys/socket.h
although a number is reserved for it, this option is not implemented
on Linux and does not work. defining it causes some applications to
use it, and subsequently break due to its failure.
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 0a2f11df..f1489186 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -143,7 +143,7 @@ struct linger
 #define SO_PRIORITY     12
 #define SO_LINGER       13
 #define SO_BSDCOMPAT    14
-#define SO_REUSEPORT    15
+/* #define SO_REUSEPORT    15 */
 #define SO_PASSCRED     16
 #define SO_PEERCRED     17
 #define SO_RCVLOWAT     18