changeset 32145:b97cd2b0dc07

Add some missing headers to configure checks; fixes the warnings: tmp.c:3: warning: implicit declaration of function 'exit' tmp.c:6: warning: implicit declaration of function 'printf' tmp.c:4: warning: implicit declaration of function 'printf'
author diego
date Tue, 14 Sep 2010 09:45:40 +0000
parents 7327d3c7e293
children d3fbd2b2892c
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Sep 14 09:41:32 2010 +0000
+++ b/configure	Tue Sep 14 09:45:40 2010 +0000
@@ -5198,6 +5198,8 @@
 
   cat > $TMPC << EOF
 #include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <gif_lib.h>
 static void catch(int sig) { exit(1); }
 int main(void) {
@@ -5225,6 +5227,7 @@
   def_gif_tvt_hack='#define CONFIG_GIF_TVT_HACK 1'
 
   cat > $TMPC << EOF
+#include <stdio.h>
 #include <gif_lib.h>
 int main(void) {
   GifFileType gif;