--- gd_jpeg.c.orig 2003-10-08 10:24:43.000000000 -0400 +++ gd_jpeg.c 2003-10-08 10:24:57.000000000 -0400 @@ -23,12 +23,12 @@ #include #include /* 1.8.1: remove dependency on jinclude.h */ -#include "jpeglib.h" -#include "jerror.h" #include "gd.h" #include "gdhelpers.h" #ifdef HAVE_LIBJPEG +#include "jpeglib.h" +#include "jerror.h" static const char * const GD_JPEG_VERSION = "2.0";