ports/print/htmldoc/patches/patch-htmldoc_http_c

15 lines
304 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: htmldoc/http.c
--- htmldoc/http.c.orig
+++ htmldoc/http.c
@@ -31,6 +31,10 @@
# include <poll.h>
#endif /* HAVE_POLL */
+#if defined(__OpenBSD__)
+# define CUPS_RAND() arc4random()
+# define CUPS_SRAND(v)
+#endif
/*
* Some operating systems have done away with the Fxxxx constants for