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:
parent
14868df9e5
commit
f697c2e1c6
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user