about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-11-18 02:38:41 +0100
committerrofl0r <retnyg@gmx.net>2012-11-18 02:42:55 +0100
commitae67fe1aadb12db2d01eb7af0a3d837296216101 (patch)
treea6458ebcaf16e6fef5b735aa33d13ca86f3c26c0 /arch
parent71955b2ff88b40446611142429416536c709c961 (diff)
downloadmusl-ae67fe1aadb12db2d01eb7af0a3d837296216101.tar.gz
musl-ae67fe1aadb12db2d01eb7af0a3d837296216101.tar.xz
musl-ae67fe1aadb12db2d01eb7af0a3d837296216101.zip
ppc socket.h: add forgotten cmsghdr
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/bits/socket.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/bits/socket.h b/arch/powerpc/bits/socket.h
index 3d97193a..26d1010f 100644
--- a/arch/powerpc/bits/socket.h
+++ b/arch/powerpc/bits/socket.h
@@ -9,6 +9,13 @@ struct msghdr
 	unsigned msg_flags;
 };
 
+struct cmsghdr
+{
+	socklen_t cmsg_len;
+	int cmsg_level;
+	int cmsg_type;
+};
+
 #define SO_DEBUG        1
 #define SO_REUSEADDR    2
 #define SO_TYPE         3