From 72ac842a145fbfbabed6402106d637e1552ddfff Mon Sep 17 00:00:00 2001 From: reinelt Date: Fri, 2 Mar 2001 17:18:52 +0000 Subject: [lcd4linux @ 2001-03-02 17:18:52 by reinelt] let configure find gd.h git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@95 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- Raster.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'Raster.c') diff --git a/Raster.c b/Raster.c index 985c888..ab568d5 100644 --- a/Raster.c +++ b/Raster.c @@ -1,4 +1,4 @@ -/* $Id: Raster.c,v 1.15 2001/03/02 10:18:03 ltoetsch Exp $ +/* $Id: Raster.c,v 1.16 2001/03/02 17:18:52 reinelt Exp $ * * driver for raster formats * @@ -20,6 +20,10 @@ * * * $Log: Raster.c,v $ + * Revision 1.16 2001/03/02 17:18:52 reinelt + * + * let configure find gd.h + * * Revision 1.15 2001/03/02 10:18:03 ltoetsch * added /proc/apm battery stat * @@ -105,8 +109,15 @@ #include #include #ifdef WITH_PNG -/* #include */ +#ifdef HAVE_GD_GD_H +#include +#else +#ifdef HAVE_GD_H #include +#else +#error "gd.h not found!" +#endif +#endif #endif #include "debug.h" -- cgit v1.2.3