about summary refs log tree commit diff
path: root/arch/powerpc64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-06-26 16:28:49 -0400
committerRich Felker <dalias@aerifal.cx>2018-06-26 16:30:58 -0400
commitefda534b212f713fe2b92a62b06e45f656b763ce (patch)
treea07077caf8e8a29fbd3c4458e83e19239d702533 /arch/powerpc64
parent587f5a53bc3a68d80b239ba515d583df690a96df (diff)
downloadmusl-efda534b212f713fe2b92a62b06e45f656b763ce.tar.gz
musl-efda534b212f713fe2b92a62b06e45f656b763ce.tar.xz
musl-efda534b212f713fe2b92a62b06e45f656b763ce.zip
fix regression in powerpc[64] SO_PEERSEC definition
commit 587f5a53bc3a68d80b239ba515d583df690a96df moved the definition
of SO_PEERSEC to bits/socket.h for archs where the SO_* macros differ
from their standard values, but failed to add copies of the generic
definition for powerpc and powerpc64.
Diffstat (limited to 'arch/powerpc64')
-rw-r--r--arch/powerpc64/bits/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc64/bits/socket.h b/arch/powerpc64/bits/socket.h
index 2f748ae8..0f3c9aac 100644
--- a/arch/powerpc64/bits/socket.h
+++ b/arch/powerpc64/bits/socket.h
@@ -54,6 +54,7 @@ struct cmsghdr {
 #define SO_PASSCRED     20
 #define SO_PEERCRED     21
 #define SO_ACCEPTCONN   30
+#define SO_PEERSEC      31
 #define SO_SNDBUFFORCE  32
 #define SO_RCVBUFFORCE  33
 #define SO_PROTOCOL     38