diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:00 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:00 +0000 |
commit | 0b62d3825c6f21bf85faaf2983747be1c84094ac (patch) | |
tree | 03512d365b3a6f34f041e228139231021051dc13 /buildlib | |
parent | 90ebe30ca5de782ebd4c8ee7c3a2d883a1444a2c (diff) |
pacify the new stricter g++ compiler
Author: tausq
Date: 2001-03-04 05:14:13 GMT
pacify the new stricter g++ compiler
Diffstat (limited to 'buildlib')
-rw-r--r-- | buildlib/tools.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildlib/tools.m4 b/buildlib/tools.m4 index 281a4ec1d..c0e638b71 100644 --- a/buildlib/tools.m4 +++ b/buildlib/tools.m4 @@ -95,6 +95,7 @@ AC_DEFUN(ah_GLIBC_VER, cat <<_GLIBC_>$dummy.c #include <features.h> #include <stdio.h> +#include <stdlib.h> int main(int argc, char **argv) { printf("libc6.%d",__GLIBC_MINOR__); exit(0); } _GLIBC_ ${CC-cc} $dummy.c -o $dummy @@ -115,6 +116,7 @@ AC_DEFUN(ah_LIBSTDCPP_VER, cat <<_LIBSTDCPP_>$dummy.cc #include <features.h> #include <stdio.h> +#include <stdlib.h> int main(int argc, char **argv) { exit(0); } _LIBSTDCPP_ ${CXX-c++} $dummy.cc -o $dummy |