From 9ce2bf5705d5285395963254fbc6e0c1b7d814e8 Mon Sep 17 00:00:00 2001 From: "caillon@redhat.com" Date: Thu, 3 Apr 2008 19:09:06 -0700 Subject: [PATCH] Bug 426205 - Fix implicit declaration of exit() warning running configure r=bsmedberg a=beltzner --- build/autoconf/altoptions.m4 | 3 ++- configure.in | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/autoconf/altoptions.m4 b/build/autoconf/altoptions.m4 index 4d51340175b..756f5df5f58 100644 --- a/build/autoconf/altoptions.m4 +++ b/build/autoconf/altoptions.m4 @@ -122,7 +122,8 @@ AC_DEFUN([MOZ_CHECK_PTHREADS], [ AC_MSG_CHECKING([for pthread_create in -l$1]) echo " - #include + #include + #include void *foo(void *v) { int a = 1; } int main() { pthread_t t; diff --git a/configure.in b/configure.in index 9b1b0b06be9..17737395811 100644 --- a/configure.in +++ b/configure.in @@ -7892,6 +7892,7 @@ if test "$MOZ_X11"; then CFLAGS="$CFLAGS $XCFLAGS" AC_TRY_COMPILE([ #include + #include #include #include ],