ports/print/htmldoc/patches/patch-htmldoc_http_c

14 lines
304 B
Text

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