summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f557a6)
raw | patch | inline | side by side (parent: 6f557a6)
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) |
configure.ac | patch | blob | history | |
src/rrd_graph.h | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 0d39a7b41dbaf29fd36bb402e08aee140b6c3ed1..6cc2767edc21c4eed095f2e3f4541eec6919abf6 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 3f9a3f19fba4740645e9cec1cdb78152fa067dac..25e9db227c03fa3ca242cd5e83ef23ae413742db 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"