aboutsummaryrefslogtreecommitdiffstats
path: root/Raster.c
diff options
context:
space:
mode:
authorreinelt <>2001-03-02 17:18:52 +0000
committerreinelt <>2001-03-02 17:18:52 +0000
commit933bb6975517c3a018d049de723e63e3f0bb78a7 (patch)
tree12d83267a0ebb3fd40b8f4e275d17d73b5a56ef7 /Raster.c
parentb95d45ceb93831905be60e14455aadfb3f0e159e (diff)
downloadlcd4linux-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.c15
1 files changed, 13 insertions, 2 deletions
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 <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"