ports/sysutils/dd_rescue/files/patch-random.c
Stefan Eßer 3d3a30c8ee Fix build by including sys/random.h.
Approved by:	nobutaka (maintainer)
2018-08-20 06:48:55 +00: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)
{