summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-24 22:15:21 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-24 22:15:21 +0100
commitd9fe0f1715750d5b447806954d0fa85b9724c769 (patch)
treef402226f990d9b8974f900fa32fc8b62e64cca81 /src
parent4f12a665cfd96326108aabf6e8a69f4ab205b8cb (diff)
use strsep replacement in pnmcurvedit toorel_0_0_4
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/pnmcurvedit.cxx2
2 files changed, 3 insertions, 0 deletions
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;