summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 25e090c)
raw | patch | inline | side by side (parent: 25e090c)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 26 Dec 2008 08:05:03 +0000 (08:05 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 26 Dec 2008 08:05:03 +0000 (08:05 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1723 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history | |
src/rrd_graph.h | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index a7008312f8120469a5212f32438d150599d3610f..049e9d0de0c76f000b3d0ffffaec14cbf70f47ba 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS(features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h)
+AC_CHECK_HEADERS(libgen.h features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
diff --git a/src/rrd_graph.h b/src/rrd_graph.h
index a42b20b60dee845b2a118fd5b46c4a6dd3027c58..1cab51e2242d1d6b04ad59e9efab63ff91966f7e 100644 (file)
--- a/src/rrd_graph.h
+++ b/src/rrd_graph.h
#include <cairo-ps.h>
#include <pango/pangocairo.h>
+#ifdef HAVE_LIBGEN_H
+/* for basename */
+# include <libgen.h>
+#endif
+
#include "rrd_tool.h"
#include "rrd_rpncalc.h"