diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-02-03 10:15:40 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-02-06 15:43:56 +0100 |
commit | 0ce3761c781f2c2de40a5a8a99563878804f47cc (patch) | |
tree | 54508293373502a13b02be86432f01463f0cc6fa | |
parent | f7ec7f546f0021d28da284b024416b916b61c974 (diff) | |
download | ffmpeg-0ce3761c781f2c2de40a5a8a99563878804f47cc.tar.gz |
configure: Add stdlib.h #include to CPPFLAGS check helper functions
This ensures that added CPPFLAGS are validated against libc headers.
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -872,7 +872,7 @@ check_code(){ check_cppflags(){ log check_cppflags "$@" check_cpp "$@" <<EOF && append CPPFLAGS "$@" -int x; +#include <stdlib.h>; EOF } @@ -1166,7 +1166,7 @@ check_host_cpp(){ check_host_cppflags(){ log check_host_cppflags "$@" check_host_cpp "$@" <<EOF && append host_cppflags "$@" -int x; +#include <stdlib.h>; EOF } |