freebsd-ports/www/epiphany/files/patch-lib_ephy-sync-utils.c
Baptiste Daroussin 6106add6f4 Update to 3.38.0
2020-09-30 07:59:54 +00:00

14 lines
375 B
C

--- lib/ephy-sync-utils.c.orig 2020-09-11 23:16:40 UTC
+++ lib/ephy-sync-utils.c
@@ -30,9 +30,9 @@
#include <libsoup/soup.h>
#include <stdio.h>
#include <string.h>
-#if defined(__linux__)
+#if defined(__linux__) || defined(__FreeBSD__)
#include <sys/random.h>
-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
+#elif defined(__OpenBSD__)
#include <unistd.h>
#endif