about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@ubnt.com>2015-07-02 12:28:41 +0300
committerRich Felker <dalias@aerifal.cx>2015-07-21 19:14:26 -0400
commit29ec7677a73a5227badbb1064205be09e707e466 (patch)
tree0fe3f12af2b74e1b979caa24f1da2814af3695c8 /include/sys
parent3fffa7a658aa925b8f95d36aef7531c1827dbf28 (diff)
downloadmusl-29ec7677a73a5227badbb1064205be09e707e466.tar.gz
musl-29ec7677a73a5227badbb1064205be09e707e466.tar.xz
musl-29ec7677a73a5227badbb1064205be09e707e466.zip
socket.h: fix SO_* for mips
Signed-off-by: Roman Yeryomin <roman@ubnt.com>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 077fb3f8..40de3369 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -177,8 +177,11 @@ struct linger
 #define SO_SNDLOWAT     19
 #define SO_RCVTIMEO     20
 #define SO_SNDTIMEO     21
+#define SO_ACCEPTCONN   30
 #define SO_SNDBUFFORCE  32
 #define SO_RCVBUFFORCE  33
+#define SO_PROTOCOL     38
+#define SO_DOMAIN       39
 #endif
 
 #define SO_SECURITY_AUTHENTICATION              22
@@ -195,7 +198,6 @@ struct linger
 #define SO_TIMESTAMP            29
 #define SCM_TIMESTAMP           SO_TIMESTAMP
 
-#define SO_ACCEPTCONN           30
 #define SO_PEERSEC              31
 #define SO_PASSSEC              34
 #define SO_TIMESTAMPNS          35
@@ -203,8 +205,6 @@ struct linger
 #define SO_MARK                 36
 #define SO_TIMESTAMPING         37
 #define SCM_TIMESTAMPING        SO_TIMESTAMPING
-#define SO_PROTOCOL             38
-#define SO_DOMAIN               39
 #define SO_RXQ_OVFL             40
 #define SO_WIFI_STATUS          41
 #define SCM_WIFI_STATUS         SO_WIFI_STATUS