From d31d192207d6775cbd3f787c2e59d0e18911d679 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jun 2010 20:46:15 +0200 Subject: build-sys: set MONO_SHARED_DIR= to avoid build env troubles on redhat (stolen from our rpms) --- avahi-daemon/chroot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'avahi-daemon') diff --git a/avahi-daemon/chroot.c b/avahi-daemon/chroot.c index 4420c41..6b9876b 100644 --- a/avahi-daemon/chroot.c +++ b/avahi-daemon/chroot.c @@ -104,8 +104,8 @@ static int send_fd(int fd, int payload_fd) { struct iovec iov; struct msghdr msg; union { - struct cmsghdr hdr; - char buf[CMSG_SPACE(sizeof(int))]; + struct cmsghdr hdr; + char buf[CMSG_SPACE(sizeof(int))]; } cmsg; /* Send a file descriptor over the socket */ @@ -144,8 +144,8 @@ static int recv_fd(int fd) { struct iovec iov; struct msghdr msg; union { - struct cmsghdr hdr; - char buf[CMSG_SPACE(sizeof(int))]; + struct cmsghdr hdr; + char buf[CMSG_SPACE(sizeof(int))]; } cmsg; /* Receive a file descriptor from a socket */ -- cgit