diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 22:05:25 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 22:06:49 +0000 |
commit | 8bd2586a7048689fe758507f90e6647110145968 (patch) | |
tree | 32ffe5837ae47d169e3141fbd362d08e1492103d | |
parent | 6aa82888e61d3e2232926ee68e764f17eae2e7e1 (diff) |
Fix build with inlines
-rw-r--r-- | sysdeps/mach/hurd/sendmsg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/sendmsg.c b/sysdeps/mach/hurd/sendmsg.c index 8489f2c5e7..8a868a8378 100644 --- a/sysdeps/mach/hurd/sendmsg.c +++ b/sysdeps/mach/hurd/sendmsg.c @@ -108,7 +108,7 @@ __libc_sendmsg (int fd, const struct msghdr *message, int flags) /* Allocate enough room for ports. */ cmsg = CMSG_FIRSTHDR (message); - for (; cmsg; cmsg = CMSG_NXTHDR (message, cmsg)) + for (; cmsg; cmsg = CMSG_NXTHDR ((struct msghdr *) message, cmsg)) if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) nports += (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) / sizeof (int); @@ -119,7 +119,7 @@ __libc_sendmsg (int fd, const struct msghdr *message, int flags) nports = 0; for (cmsg = CMSG_FIRSTHDR (message); cmsg; - cmsg = CMSG_NXTHDR (message, cmsg)) + cmsg = CMSG_NXTHDR ((struct msghdr *) message, cmsg)) { if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { |