BSD: add kqueue support
[tinc] / src / bsd / meson.build
1 check_headers += [
2   'net/if_tap.h',
3   'net/if_tun.h',
4   'net/if_utun.h',
5   'net/tap/if_tap.h',
6   'net/tun/if_tun.h',
7 ]
8
9 # macOS apparently doesn't support kqueue with TAP devices
10 if os_name != 'darwin'
11   check_headers += 'sys/event.h'
12 endif
13
14 check_functions += [
15   'devname',
16   'fdevname',
17 ]
18
19 src_tincd += files('device.c')
20
21 if os_name in ['openbsd', 'darwin']
22   subdir(os_name)
23 endif
24