summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/wi/wiiload/fix-gcc15.patch
blob: 547ecd5004078d2de45c94963aa259b7d35e8ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/source/main.c b/source/main.c
index 2d817e5..9dfeb3d 100644
--- a/source/main.c
+++ b/source/main.c
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <libgen.h>
+#include <stdbool.h>
 #ifndef _WIN32
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -62,8 +63,6 @@ typedef signed short s16;
 typedef signed int s32;
 typedef signed long long s64;

-typedef enum { false, true } bool;
-
 #ifndef __WIN32__
 static const char *desc_export = "export";
 #ifndef __APPLE__