summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-06-10 13:22:48 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-06-13 08:56:13 -0400
commit6f88c28c44a0b2957ecf20eac7a2853c9b6ae0ae (patch)
treeb59d95d0bbaca92af479773ae8ffc4b5b36627c8 /SConstruct
parent9fd39690be809460cafd5bd02ad2262a3695cbbf (diff)
downloadlighttpd1.4-6f88c28c44a0b2957ecf20eac7a2853c9b6ae0ae.tar.gz
lighttpd1.4-6f88c28c44a0b2957ecf20eac7a2853c9b6ae0ae.zip
[core] fix compiler warnings on Mac OS X
(thx wardw)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 762fad1b..abd55667 100644
--- a/SConstruct
+++ b/SConstruct
@@ -224,7 +224,8 @@ if 1:
getuid select signal pathconf madvise prctl\
writev sigaction sendfile64 send_file kqueue port_create localtime_r posix_fadvise issetugid inet_pton \
memset_s explicit_bzero clock_gettime pipe2 \
- getentropy arc4random_buf jrand48 srandom getloadavg'))
+ arc4random_buf jrand48 srandom getloadavg'))
+ checkFunc(autoconf, 'getentropy', 'sys/random.h')
checkFunc(autoconf, 'getrandom', 'linux/random.h')
checkTypes(autoconf, Split('pid_t size_t off_t'))