summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-06-26 15:55:29 -0400
committerRich Felker <dalias@aerifal.cx>2018-06-26 15:55:29 -0400
commit587f5a53bc3a68d80b239ba515d583df690a96df (patch)
treeb1e49ff0f8f0d8e29019517d012e9de6d17d7f27 /include/sys
parent471497ab818bf6151dea7f4425a815d9cc59deb2 (diff)
downloadmusl-587f5a53bc3a68d80b239ba515d583df690a96df.tar.gz
musl-587f5a53bc3a68d80b239ba515d583df690a96df.tar.bz2
musl-587f5a53bc3a68d80b239ba515d583df690a96df.tar.xz
musl-587f5a53bc3a68d80b239ba515d583df690a96df.zip
fix value of SO_PEERSEC on mips archs
adapted from patch by Matthias Schiffer.
Diffstat (limited to 'include/sys')
-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 507da5cc..14be6e99 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -183,6 +183,7 @@ struct linger {
#define SO_RCVTIMEO 20
#define SO_SNDTIMEO 21
#define SO_ACCEPTCONN 30
+#define SO_PEERSEC 31
#define SO_SNDBUFFORCE 32
#define SO_RCVBUFFORCE 33
#define SO_PROTOCOL 38
@@ -203,7 +204,6 @@ struct linger {
#define SO_TIMESTAMP 29
#define SCM_TIMESTAMP SO_TIMESTAMP
-#define SO_PEERSEC 31
#define SO_PASSSEC 34
#define SO_TIMESTAMPNS 35
#define SCM_TIMESTAMPNS SO_TIMESTAMPNS