added check for some networking headers

This commit is contained in:
2023-11-18 22:30:35 +09:00
parent 52829974ec
commit 6b774bb235
5 changed files with 24 additions and 7 deletions

9
configure vendored
View File

@ -15024,6 +15024,15 @@ if test "x$ac_cv_header_net_if_dl_h" = xyes
then :
printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "
#include <sys/types.h>
#include <sys/socket.h>
"
if test "x$ac_cv_header_netinet_if_ether_h" = xyes
then :
printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "netpacket/packet.h" "ac_cv_header_netpacket_packet_h" "
#include <sys/types.h>