summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-04-21 21:14:55 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-04-21 21:14:55 +0200
commit20e5eabf2f438cb4b47983c4325f89cd62dfd3b0 (patch)
treede40b04c515d65ab890573cc2f1242c20aeacf2b /src
parent59ff844767ec1b7f2981e3da8254b1750e5b9714 (diff)
Fix compilation with gcc-15
submitted by: LAP
Diffstat (limited to 'src')
-rw-r--r--src/pnm.c2
1 files changed, 2 insertions, 0 deletions
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"