summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-10-16 05:01:42 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2016-10-16 05:11:38 -0400
commit032772ab6cde79ef78cc46a75ad92425fe4622b4 (patch)
tree732f9f93da81c8d8de685e2fdd1af8fc73797bdc /configure.ac
parent768dc3aa5bc94860b80a0cef5516f2b14f2c9a58 (diff)
downloadlighttpd1.4-032772ab6cde79ef78cc46a75ad92425fe4622b4.tar.gz
lighttpd1.4-032772ab6cde79ef78cc46a75ad92425fe4622b4.zip
add random() to list of rand() fallbackslighttpd-1.4.42
(but prefer better mechanisms)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3842d31e..6e556171 100644
--- a/configure.ac
+++ b/configure.ac
@@ -763,7 +763,7 @@ AC_CHECK_FUNCS([dup2 getcwd inet_ntoa inet_ntop inet_pton issetugid memset mmap
getuid select signal pathconf madvise posix_fadvise posix_madvise \
writev sigaction sendfile64 send_file kqueue port_create localtime_r gmtime_r \
memset_s explicit_bzero clock_gettime \
- getentropy arc4random jrand48])
+ getentropy arc4random jrand48 srandom])
AC_CHECK_HEADERS([linux/random.h],[
AC_CHECK_FUNC([getrandom], AC_DEFINE([HAVE_GETRANDOM], [1], [getrandom]))
])