<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fixes for GCC 15.

--- x48-0.6.4/src/debugger.c	2011-11-15 03:03:40.000000000 +0000
+++ x48-0.6.4/src/debugger.c	2025-07-04 18:28:45.492871830 +0100
@@ -1528,7 +1528,7 @@
   struct se *se_next;
 };
 
-char *
+void
 #ifdef __FunctionProto__
 get_stack (void)
 #else
--- x48-0.6.4/src/serial.c	2011-11-15 03:03:40.000000000 +0000
+++ x48-0.6.4/src/serial.c	2025-07-04 18:29:10.252681780 +0100
@@ -61,6 +61,9 @@
  */
 
 
+#define _XOPEN_SOURCE 600 /* for grantpt */
+#define _DEFAULT_SOURCE /* for CBAUD */
+
 #include "global.h"
 
 #include &lt;stdio.h&gt;
--- x48-0.6.4/src/x48_x11.c	2011-11-15 03:03:40.000000000 +0000
+++ x48-0.6.4/src/x48_x11.c	2025-07-04 18:28:45.496289581 +0100
@@ -3833,7 +3833,7 @@
 
 int last_button = -1;
 
-extern char *get_stack(void);
+extern void get_stack(void);
 
 int
 #ifdef __FunctionProto__
</pre></body></html>