mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
HP-UX: make xiolog_ancillary_socket() cond. by HAVE_STRUCT_CMSGHDR
This commit is contained in:
parent
618170baf3
commit
f82bad1dd8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
/* converts the ancillary message in *cmsg into a form useable for further
|
||||||
processing. knows the specifics of common message types.
|
processing. knows the specifics of common message types.
|
||||||
returns the number of resulting syntax elements is *num
|
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 /* !defined(CMSG_DATA) */
|
||||||
}
|
}
|
||||||
|
#endif /* HAVE_STRUCT_CMSGHDR */
|
||||||
|
|
||||||
|
|
||||||
/* return the name of the interface with given index
|
/* return the name of the interface with given index
|
||||||
|
|
Loading…
Reference in a new issue