]> granicus.if.org Git - graphviz/commitdiff
wrap #include "gd.h" in a HAVE_LIBGD conditional
authorellson <devnull@localhost>
Sun, 21 May 2006 19:30:48 +0000 (19:30 +0000)
committerellson <devnull@localhost>
Sun, 21 May 2006 19:30:48 +0000 (19:30 +0000)
lib/common/psgen.c

index 15e957418da14e258fe0d17d7ef336f2c4fc4b14..04288fe984231efd15d2c2b6dfd251bf0ac0b52f 100644 (file)
 #include "render.h"
 #include "ps.h"
 #include "agxbuf.h"
+
+#ifdef HAVE_LIBGD
 #include "gd.h"
+#endif
 
 #ifndef MSWIN32
 #include <unistd.h>