X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fbsd%2Fmeson.build;fp=src%2Fbsd%2Fmeson.build;h=91bc55075994f69ea71399a4e078797090212368;hb=d3849fcb278d1df005c507f7e18a8397574f7f47;hp=e6062dc8fa551038739dd80af85ff33c89faedfb;hpb=d2949381713c35210a43391524494c639f6f1d48;p=tinc diff --git a/src/bsd/meson.build b/src/bsd/meson.build index e6062dc8..91bc5507 100644 --- a/src/bsd/meson.build +++ b/src/bsd/meson.build @@ -6,6 +6,11 @@ check_headers += [ 'net/tun/if_tun.h', ] +# macOS apparently doesn't support kqueue with TAP devices +if os_name != 'darwin' + check_headers += 'sys/event.h' +endif + check_functions += [ 'devname', 'fdevname',