Refactor crypto RNG; add getrandom() support
[tinc] / src / xoshiro.c
index 481c2d5..11eaf5b 100644 (file)
@@ -9,6 +9,7 @@ See <http://creativecommons.org/publicdomain/zero/1.0/>. */
 #include "system.h"
 
 #include "crypto.h"
+#include "random.h"
 
 /* This is xoshiro256** 1.0, one of our all-purpose, rock-solid
    generators. It has excellent (sub-ns) speed, a state (256 bits) that is