diff options
author | Florian Weimer | 2019-07-05 17:20:27 +0200 |
---|---|---|
committer | Karel Zak | 2019-07-15 11:06:21 +0200 |
commit | 1632856ef19efb50c57c939b82a9ff712b3c0b09 (patch) | |
tree | ec8ca1aa8ddb744b601e2c499d65376b4edecf2d | |
parent | lsblk: force to print PKNAME for partition (diff) | |
download | kernel-qcow2-util-linux-1632856ef19efb50c57c939b82a9ff712b3c0b09.tar.gz kernel-qcow2-util-linux-1632856ef19efb50c57c939b82a9ff712b3c0b09.tar.xz kernel-qcow2-util-linux-1632856ef19efb50c57c939b82a9ff712b3c0b09.zip |
build-sys: Include <stdlib.h> in ./configure wchar_t test
Without #include <stdlib.h>, this configure check fails for strict
C99/C11 compilers which do not support implicit function declarations
(which are a C90 feature removed from C99).
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a840e20ee..997b6388c 100644 --- a/configure.ac +++ b/configure.ac @@ -756,6 +756,7 @@ UL_REQUIRES_COMPILE([widechar], [[ #include <wchar.h> #include <wctype.h> #include <stdio.h> + #include <stdlib.h> ]], [[ wchar_t wc; wint_t w; |