mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
16 lines
387 B
Diff
16 lines
387 B
Diff
Description: Fix compilation with gcc15 / c23
|
|
Author: Dan Horák <dan@danny.cz>
|
|
Bug-Debian: http://bugs.debian.org/1097421
|
|
|
|
--- a/mtx.h
|
|
+++ b/mtx.h
|
|
@@ -222,7 +222,8 @@ typedef unsigned char Direction_T;
|
|
#define Input 0
|
|
#define Output 1
|
|
#else
|
|
-typedef enum { false, true } boolean;
|
|
+#include <stdbool.h>
|
|
+typedef bool boolean;
|
|
|
|
typedef enum { Input, Output } Direction_T;
|
|
#endif
|