Index: htmldoc/http.c --- htmldoc/http.c.orig +++ htmldoc/http.c @@ -31,6 +31,10 @@ # include #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