opnsense-ports/sysutils/dd_rescue/files/patch-random.c
Franco Fichtner 85d066a61f */*: sync with upstream
Taken from: HardenedBSD
2018-09-03 02:25:18 +02:00

12 lines
262 B
C

--- random.c.orig 2015-09-10 15:51:08 UTC
+++ random.c
@@ -22,6 +22,9 @@ typedef unsigned int __u32;
#ifdef HAVE_LINUX_RANDOM_H
#include <linux/random.h>
#endif
+#ifdef __FreeBSD__
+#include <sys/random.h>
+#endif
static void msleep(unsigned int msecs)
{