diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-12-11 14:54:22 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-12-11 14:55:44 -0500 |
commit | 7f29694236aab000eae24f36b7989a6b774044ae (patch) | |
tree | ddeea6427fb188c6a97b6492ffbce97077335545 /include/sys | |
parent | d0276e18f327503f8cb9d6b942f25a87d144e60f (diff) | |
download | glibc-7f29694236aab000eae24f36b7989a6b774044ae.tar.gz glibc-7f29694236aab000eae24f36b7989a6b774044ae.tar.xz glibc-7f29694236aab000eae24f36b7989a6b774044ae.zip |
Fix __sendmmsg prototype guards
Add __USE_GNU guards on 'socket/sys/socket.h' __sendmmsg prototype.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index 9caf1bbdf5..99f60363a1 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -91,9 +91,11 @@ extern ssize_t __libc_sendmsg (int __fd, const struct msghdr *__message, extern ssize_t __sendmsg (int __fd, const struct msghdr *__message, int __flags) attribute_hidden; +#ifdef __USE_GNU extern int __sendmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags); libc_hidden_proto (__sendmmsg) +#endif /* Receive a message as described by MESSAGE from socket FD. Returns the number of bytes read or -1 for errors. */ |