summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am1
-rw-r--r--src/pnmcurvedit.cxx2
4 files changed, 8 insertions, 1 deletions
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 <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
+extern "C" {
#include "strsep.h"
+}
#include "CurveEditor.H"
static CurveEditor *ce;