]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
random: ensure arc4random_uniform is used if possible
authorBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 16 Dec 2021 10:29:37 +0000 (11:29 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 16 Dec 2021 10:29:37 +0000 (11:29 +0100)
src/random-int.c

index a0d0770fba22f9a914aee36fef87e34db49876c9..92666bb7b849226adf7c388963e6b8ca802f82c2 100644 (file)
  * IN THE SOFTWARE.
  */
 
+#include <sys/param.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <time.h>
 
 #include "wrappers.h"
+#include "config.h"
 
 int random_int()
 {