Blame SOURCES/glibc-rh1505492-types-10.patch

25845f
commit 7f29694236aab000eae24f36b7989a6b774044ae
25845f
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25845f
Date:   Thu Dec 11 14:54:22 2014 -0500
25845f
25845f
    Fix __sendmmsg prototype guards
25845f
    
25845f
    Add __USE_GNU guards on 'socket/sys/socket.h' __sendmmsg prototype.
25845f
25845f
diff --git a/include/sys/socket.h b/include/sys/socket.h
25845f
index 9caf1bbdf5fa7782..99f60363a133cf93 100644
25845f
--- a/include/sys/socket.h
25845f
+++ b/include/sys/socket.h
25845f
@@ -91,9 +91,11 @@ extern ssize_t __libc_sendmsg (int __fd, const struct msghdr *__message,
25845f
 extern ssize_t __sendmsg (int __fd, const struct msghdr *__message,
25845f
 			  int __flags) attribute_hidden;
25845f
 
25845f
+#ifdef __USE_GNU
25845f
 extern int __sendmmsg (int __fd, struct mmsghdr *__vmessages,
25845f
                        unsigned int __vlen, int __flags);
25845f
 libc_hidden_proto (__sendmmsg)
25845f
+#endif
25845f
 
25845f
 /* Receive a message as described by MESSAGE from socket FD.
25845f
    Returns the number of bytes read or -1 for errors.  */