about summary refs log tree commit diff
diff options
context:
space:
mode:
-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