Sat, 01 Sep 2012 12:17:10 +0200
Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.
michael@503 | 1 | Index: ext/gd/libgd/gd_compat.c |
michael@503 | 2 | --- ext/gd/libgd/gd_compat.c.orig 2009-08-09 15:15:45 +0200 |
michael@503 | 3 | +++ ext/gd/libgd/gd_compat.c 2010-01-19 21:20:30 +0100 |
michael@503 | 4 | @@ -5,6 +5,7 @@ |
michael@503 | 5 | #endif |
michael@503 | 6 | |
michael@503 | 7 | #ifdef HAVE_GD_JPG |
michael@503 | 8 | +# include <stdio.h> |
michael@503 | 9 | # include <jpeglib.h> |
michael@503 | 10 | #endif |
michael@503 | 11 |