X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fbsd%2Fmeson.build;h=cc294792cff22c1ae9cab683a570288869bec94a;hb=021293e0d03de8d29b22104a8f9bef625b135640;hp=91bc55075994f69ea71399a4e078797090212368;hpb=d3849fcb278d1df005c507f7e18a8397574f7f47;p=tinc diff --git a/src/bsd/meson.build b/src/bsd/meson.build index 91bc5507..cc294792 100644 --- a/src/bsd/meson.build +++ b/src/bsd/meson.build @@ -6,11 +6,6 @@ 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', @@ -18,6 +13,10 @@ check_functions += [ src_tincd += files('device.c') +if os_name != 'darwin' + src_tincd += files('event.c') +endif + if os_name in ['openbsd', 'darwin'] subdir(os_name) endif