File fix-gcc15.patch of Package digger

diff --git a/def.h b/def.h
index fd1fd6c..b63846d 100644
--- a/def.h
+++ b/def.h
@@ -13,6 +13,7 @@
 #if defined FREEBSD || defined LINUX || defined YOUR_UNIX_LIKE_ARCH_GOING_HERE
 #define UNIX
 #endif
+#include <stdbool.h>
 
 #ifdef TRUE
 #undef TRUE
@@ -24,7 +25,6 @@
 
 #define TRUE -1
 #define FALSE 0
-typedef int bool;
 
 typedef signed char Sint3;
 typedef unsigned char Uint3;
diff --git a/fbsd_sup.c b/fbsd_sup.c
index 8a14eae..cf813a4 100644
--- a/fbsd_sup.c
+++ b/fbsd_sup.c
@@ -1,4 +1,5 @@
 #include <ctype.h>
+#include <stdlib.h>
 #include "def.h"
 #include "hardware.h"
 
openSUSE Build Service is sponsored by