From f82bad1dd8fa422fd73e7ac9b33e16b3e3646956 Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Sun, 5 Oct 2008 12:56:49 +0200 Subject: [PATCH] HP-UX: make xiolog_ancillary_socket() cond. by HAVE_STRUCT_CMSGHDR --- xio-socket.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xio-socket.c b/xio-socket.c index 6fa4125..fbfc3b5 100644 --- a/xio-socket.c +++ b/xio-socket.c @@ -1765,6 +1765,7 @@ int xiocheckpeer(xiosingle_t *xfd, } +#if HAVE_STRUCT_CMSGHDR /* converts the ancillary message in *cmsg into a form useable for further processing. knows the specifics of common message types. returns the number of resulting syntax elements is *num @@ -1841,6 +1842,7 @@ xiolog_ancillary_socket(struct cmsghdr *cmsg, int *num, #endif /* !defined(CMSG_DATA) */ } +#endif /* HAVE_STRUCT_CMSGHDR */ /* return the name of the interface with given index