From: oetiker Date: Wed, 13 Jun 2007 16:53:32 +0000 (+0000) Subject: fixed tcl includes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83593892b3599bacdba7169dfc2155dc420b3cac;p=rrdtool.git fixed tcl includes git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1119 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/bindings/tcl/Makefile.am b/bindings/tcl/Makefile.am index c73a6e2..3e183c6 100644 --- a/bindings/tcl/Makefile.am +++ b/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/bindings/tcl/tclrrd.c b/bindings/tcl/tclrrd.c index a58a6c2..c5a899a 100644 --- a/bindings/tcl/tclrrd.c +++ b/bindings/tcl/tclrrd.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "../../src/rrd_tool.h" #include "../../src/rrd_format.h"