diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2001-03-02 17:18:52 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2001-03-02 17:18:52 +0000 |
commit | 72ac842a145fbfbabed6402106d637e1552ddfff (patch) | |
tree | 12d83267a0ebb3fd40b8f4e275d17d73b5a56ef7 /Raster.c | |
parent | bc79a5e7ab0c605807e38724983e2b2b664a61d7 (diff) | |
download | lcd4linux-72ac842a145fbfbabed6402106d637e1552ddfff.tar.gz |
[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
Diffstat (limited to 'Raster.c')
-rw-r--r-- | Raster.c | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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 <sys/types.h> #include <sys/stat.h> #ifdef WITH_PNG -/* #include <gd/gd.h> */ +#ifdef HAVE_GD_GD_H +#include <gd/gd.h> +#else +#ifdef HAVE_GD_H #include <gd.h> +#else +#error "gd.h not found!" +#endif +#endif #endif #include "debug.h" |