From: ellson Date: Sat, 17 Nov 2007 00:25:23 +0000 (+0000) Subject: Fix #1234 based on suggested fix from: X-Git-Tag: LAST_LIBGRAPH~32^2~5014 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a987ae45f5c17d82c5d23e9fed16ca6ffa063c9;p=graphviz Fix #1234 based on suggested fix from: Alexander Berger --- diff --git a/configure.ac b/configure.ac index 451b7ab27..22d065aa6 100644 --- a/configure.ac +++ b/configure.ac @@ -279,7 +279,7 @@ dnl Checks for header files # AC_HAVE_HEADERS(string.h) AC_CHECK_HEADERS(stdarg.h stddef.h stddef.h stdlib.h stdint.h malloc.h \ search.h getopt.h pthread.h values.h float.h limits.h termios.h \ - errno.h time.h unistd.h fenv.h strings.h inttypes.h \ + errno.h time.h unistd.h fenv.h strings.h inttypes.h setjmp.h \ sys/time.h sys/times.h sys/types.h sys/select.h fpu_control.h \ sys/fpu.h strings.h sys/socket.h sys/stat.h sys/mman.h \ sys/ioctl.h sys/inotify.h) diff --git a/lib/gd/gd_png.c b/lib/gd/gd_png.c index 135cc02ee..dd19fe7c7 100644 --- a/lib/gd/gd_png.c +++ b/lib/gd/gd_png.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "gd.h" /* JCE: Arrange HAVE_LIBPNG so that it can be set in gd.h */