aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/files/patch-random.c
blob: e2a830f9b41c557ea93794edde53be7cc367ee80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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)
 {