From 20e5eabf2f438cb4b47983c4325f89cd62dfd3b0 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 21 Apr 2026 21:14:55 +0200 Subject: Fix compilation with gcc-15 submitted by: LAP --- NEWS | 4 ++++ src/pnm.c | 2 ++ 2 files changed, 6 insertions(+) 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 +#include #include #include "pnm.h" -- cgit v1.2.3