Merge commit '0ce3761c781f2c2de40a5a8a99563878804f47cc'

* commit '0ce3761c781f2c2de40a5a8a99563878804f47cc':
  configure: Add stdlib.h #include to CPPFLAGS check helper functions

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-09-27 11:54:11 -03:00
commit 407a7547da
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -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
}