blob: f611076495df4b52e7eaa67617c6f2f209897052 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Bug: https://bugs.gentoo.org/944235
--- a/src/arch/linux/dosext/sound/midid/midid.h
+++ b/src/arch/linux/dosext/sound/midid/midid.h
@@ -8,7 +8,8 @@
#define _MIDID_H
typedef unsigned char byte;
-typedef enum {FALSE, TRUE} bool;
+#include <stdbool.h>
+enum {FALSE, TRUE};
typedef enum {EMUMODE_MT32, EMUMODE_GM} Emumode;
/* Configuration */
--- a/src/base/init/parser.y.in
+++ b/src/base/init/parser.y.in
@@ -92,8 +92,8 @@ int dexe_running = 0;
static int dexe_forbid_disk = 1;
char own_hostname[128];
-static struct printer nullptr;
-static struct printer *pptr = &nullptr;
+static struct printer null_ptr;
+static struct printer *pptr = &null_ptr;
static int c_printers = 0;
static int ports_permission = IO_RDWR;
|