From 998ab23dab96d953d1fde85ab0f5483b8b866412 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Sun, 5 Oct 2025 18:54:14 +0900 Subject: [PATCH] Fix build error when debugger is disabled This fixes "call to undeclared function 'screenshot_save'" error when xsystem4.h is not included by debugger.h. --- src/input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input.c b/src/input.c index 801454d..1509553 100644 --- a/src/input.c +++ b/src/input.c @@ -24,6 +24,7 @@ #include "input.h" #include "scene.h" #include "vm.h" +#include "xsystem4.h" #include "debugger.h" #ifndef M_PI