15 lines
402 B
Plaintext
15 lines
402 B
Plaintext
$OpenBSD: patch-htmldoc_http_c,v 1.2 2016/01/03 10:18:36 benoit Exp $
|
|
--- htmldoc/http.c.orig Sat Jan 2 22:46:20 2016
|
|
+++ htmldoc/http.c Sun Jan 3 10:59:10 2016
|
|
@@ -38,6 +38,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
|