From a544552fa0ec3369c9285e3f27c5c287bcc3bfaa Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 13 Jun 2007 16:53:32 +0000 Subject: [PATCH] fixed tcl includes git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1119 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/bindings/tcl/Makefile.am | 3 ++- program/bindings/tcl/tclrrd.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/program/bindings/tcl/Makefile.am b/program/bindings/tcl/Makefile.am index c73a6e2e..3e183c68 100644 --- a/program/bindings/tcl/Makefile.am +++ b/program/bindings/tcl/Makefile.am @@ -12,11 +12,12 @@ TCL_SHLIB_SUFFIX = @TCL_SHLIB_SUFFIX@ TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ TCL_LD_SEARCH_FLAGS = @TCL_LD_SEARCH_FLAGS@ TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@ +TCL_INC_DIR = @TCL_INC_DIR@ CLEANFILES = tclrrd.o tclrrd.so SRC_DIR = $(top_srcdir)/src -AM_CPPFLAGS = -I$(TCL_PREFIX)/include -I$(SRC_DIR) -DUSE_TCL_STUBS +AM_CPPFLAGS = -I$(TCL_INC_DIR) -I$(SRC_DIR) -DUSE_TCL_STUBS LIBDIRS = -L$(top_builddir)/src/.libs -L$(top_builddir)/src -L$(libdir) LIB_RUNTIME_DIR = $(libdir) diff --git a/program/bindings/tcl/tclrrd.c b/program/bindings/tcl/tclrrd.c index a58a6c26..c5a899a1 100644 --- a/program/bindings/tcl/tclrrd.c +++ b/program/bindings/tcl/tclrrd.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "../../src/rrd_tool.h" #include "../../src/rrd_format.h" -- 2.30.2