From d9fe0f1715750d5b447806954d0fa85b9724c769 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 24 Nov 2008 22:15:21 +0100 Subject: use strsep replacement in pnmcurvedit too --- NEWS | 4 ++++ configure.ac | 2 +- src/Makefile.am | 1 + src/pnmcurvedit.cxx | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c41e6c7..64a432b 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,10 @@ pnmcurve ChangeLog ================== +pnmcurve-0.0.4 + - Use strsep replacement in pnmcurvedit too + (thanks to Tim Larson for testing). + pnmcurve-0.0.3 - Don't link pnmcurve with fltk. - Add strsep replacement from glibc for platforms without diff --git a/configure.ac b/configure.ac index fea3bd6..efde8cb 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(pnmcurve, 0.0.3, Johannes.Hofmann@gmx.de) +AC_INIT(pnmcurve, 0.0.4, Johannes.Hofmann@gmx.de) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/pnmcurve.c]) AC_CONFIG_HEADER(config.h) diff --git a/src/Makefile.am b/src/Makefile.am index 61b860d..ede2e5e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,6 +10,7 @@ pnmcurve_SOURCES = \ pnmcurvedit_SOURCES = \ CurveEditor.cxx \ + strsep.c \ pnmcurvedit.cxx noinst_HEADERS = \ diff --git a/src/pnmcurvedit.cxx b/src/pnmcurvedit.cxx index abb4fe3..6bf4548 100644 --- a/src/pnmcurvedit.cxx +++ b/src/pnmcurvedit.cxx @@ -12,7 +12,9 @@ #include #include +extern "C" { #include "strsep.h" +} #include "CurveEditor.H" static CurveEditor *ce; -- cgit v1.2.3