From: Dave Love Date: Wed, 31 Jul 2002 22:37:38 +0000 (+0000) Subject: Change logic (instead of fixing typo). X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~467 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4fc0b72e987f4f3732e2805d6f528954c22ce8d1;p=emacs.git Change logic (instead of fixing typo). --- diff --git a/src/xfns.c b/src/xfns.c index 51acdec4044..9be7f7c337c 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -9233,18 +9233,17 @@ png_load (f, img) /* Work around a warning about HAVE_STDLIB_H being redefined in jconfig.h. */ #ifdef HAVE_STDLIB_H -#define HAVE_STDLIB_H_1 -#undef HAVE_STDLIB_H -#endif /* HAVE_STLIB_H */ +# undef HAVE_STDLIB_H +# include +# include +# define HAVE_STDLIB_H 1 +#else +# include +# include +#endif /* HAVE_STDLIB_H */ -#include -#include #include -#ifdef HAVE_STLIB_H_1 -#define HAVE_STDLIB_H 1 -#endif - static int jpeg_image_p P_ ((Lisp_Object object)); static int jpeg_load P_ ((struct frame *f, struct image *img));