summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-27 11:54:11 -0300
committerJames Almer <jamrial@gmail.com>2017-09-27 12:14:52 -0300
commit407a7547dad5c50d0b82db27be4572edc5e9994d (patch)
treedc5d581797d2dcd9e5a9db8d12f071aa9b9fec21 /configure
parentbee01ee2ba2e62974447d5e8ea2afb27dbdb1e23 (diff)
parent0ce3761c781f2c2de40a5a8a99563878804f47cc (diff)
Merge commit '0ce3761c781f2c2de40a5a8a99563878804f47cc'
* commit '0ce3761c781f2c2de40a5a8a99563878804f47cc': configure: Add stdlib.h #include to CPPFLAGS check helper functions Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ba38a73906..a8b1f3fea5 100755
--- a/configure
+++ b/configure
@@ -1040,7 +1040,7 @@ check_code(){
check_cppflags(){
log check_cppflags "$@"
check_cpp "$@" <<EOF && append CPPFLAGS "$@"
-int x;
+#include <stdlib.h>
EOF
}
@@ -1424,7 +1424,7 @@ check_host_cpp(){
check_host_cppflags(){
log check_host_cppflags "$@"
check_host_cpp "$@" <<EOF && append host_cppflags "$@"
-int x;
+#include <stdlib.h>
EOF
}