[MPlayer-cvslog] r32229 - trunk/configure

diego subversion at mplayerhq.hu
Tue Sep 14 11:45:40 CEST 2010


Author: diego
Date: Tue Sep 14 11:45:40 2010
New Revision: 32229

Log:
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'

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Sep 14 11:41:32 2010	(r32228)
+++ trunk/configure	Tue Sep 14 11:45:40 2010	(r32229)
@@ -5198,6 +5198,8 @@ if test "$_gif" = yes ; then
 
   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 @@ case "$_gif" in yes*)
   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;


More information about the MPlayer-cvslog mailing list