blob: cff0049cef0dea648a5419f99cebcae5d1a389a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Fix build with gcc 15
https://bugs.gentoo.org/944172
https://github.com/devkitPro/wiiload/pull/4
--- 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__
|