]> www.tinc-vpn.org Git - tinc/blobdiff - src/linux/meson.build
Refactor crypto RNG; add getrandom() support
[tinc] / src / linux / meson.build
index 5725b4adfdca451faab66773160a8c85d3700059..0213d0602da3a8ee18fa3afa05fcde561dc14596 100644 (file)
@@ -1,10 +1,14 @@
 check_headers += [
   'linux/if_tun.h',
 check_headers += [
   'linux/if_tun.h',
-  'sys/epoll.h',
   'netpacket/packet.h',
   'netpacket/packet.h',
+  'sys/epoll.h',
+  'sys/random.h',
 ]
 
 ]
 
-check_functions += 'recvmmsg'
+check_functions += [
+  'recvmmsg',
+  'getrandom',
+]
 
 src_tincd += files('device.c')
 
 
 src_tincd += files('device.c')