1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-build: Add ipv6 headers check for packet details

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2018-06-29 14:54:17 +10:00 committed by Martin Schwenke
parent 14868df9e5
commit f697c2e1c6

View File

@ -106,6 +106,14 @@ def configure(conf):
conf.RECURSE('lib/replace')
conf.CHECK_HEADERS(headers='''sys/socket.h
netinet/in.h
netinet/if_ether.h
netinet/ip.h
netinet/ip6.h
netinet/icmp6.h''',
together=True)
conf.CHECK_CODE('int s = socket(AF_PACKET, SOCK_RAW, 0);',
define='HAVE_AF_PACKET',
headers='sys/socket.h linux/if_packet.h')