From ae67fe1aadb12db2d01eb7af0a3d837296216101 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 18 Nov 2012 02:38:41 +0100 Subject: ppc socket.h: add forgotten cmsghdr --- arch/powerpc/bits/socket.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch') 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 -- cgit v1.2.1