diff options
author | reinelt <> | 2001-03-02 17:18:52 +0000 |
---|---|---|
committer | reinelt <> | 2001-03-02 17:18:52 +0000 |
commit | 933bb6975517c3a018d049de723e63e3f0bb78a7 (patch) | |
tree | 12d83267a0ebb3fd40b8f4e275d17d73b5a56ef7 /Raster.c | |
parent | b95d45ceb93831905be60e14455aadfb3f0e159e (diff) | |
download | lcd4linux-933bb6975517c3a018d049de723e63e3f0bb78a7.tar.gz |
[lcd4linux @ 2001-03-02 17:18:52 by reinelt]
let configure find gd.h
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" |