forked from mirrors/tftp-hpa-google
recvfrom: update config.h define for in_pktinfo.ipi_addr
configure.ac now explicitly checks for struct in_pktinfo.ipi_addr; update the configure name to match. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
fefaa2cc5c
commit
cb619257ed
1 changed files with 4 additions and 2 deletions
|
@ -26,10 +26,12 @@
|
||||||
|
|
||||||
#if defined(HAVE_RECVMSG) && defined(HAVE_MSGHDR_MSG_CONTROL)
|
#if defined(HAVE_RECVMSG) && defined(HAVE_MSGHDR_MSG_CONTROL)
|
||||||
|
|
||||||
#include <sys/uio.h>
|
#ifdef HAVE_SYS_UIO_H
|
||||||
|
# include <sys/uio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef IP_PKTINFO
|
#ifdef IP_PKTINFO
|
||||||
# ifndef HAVE_STRUCT_IN_PKTINFO
|
# ifndef HAVE_STRUCT_IN_PKTINFO_IPI_ADDR
|
||||||
# ifdef __linux__
|
# ifdef __linux__
|
||||||
/* Assume this version of glibc simply lacks the definition */
|
/* Assume this version of glibc simply lacks the definition */
|
||||||
struct in_pktinfo {
|
struct in_pktinfo {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue