summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--src/pnm.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 64a432b..6e6bf8b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,10 @@
pnmcurve ChangeLog
==================
+pnmcurve-0.0.5
+ - Fix compilation with gcc-15
+ (submitted by: LAP)
+
pnmcurve-0.0.4
- Use strsep replacement in pnmcurvedit too
(thanks to Tim Larson for testing).
diff --git a/src/pnm.c b/src/pnm.c
index 3edbcd3..39574ce 100644
--- a/src/pnm.c
+++ b/src/pnm.c
@@ -8,6 +8,8 @@
/* This code is based on Fl_PNM_Image.cxx from fltk (http://www.fltk.org)
*/
+#include <stdlib.h>
+#include <ctype.h>
#include <string.h>
#include "pnm.h"