mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Closes: https://bugs.gentoo.org/943846 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43713 Closes: https://github.com/gentoo/gentoo/pull/43713 Signed-off-by: Sam James <sam@gentoo.org>
16 lines
355 B
Diff
16 lines
355 B
Diff
https://bugs.gentoo.org/943846
|
|
--- a/libinit.h
|
|
+++ b/libinit.h
|
|
@@ -107,7 +107,11 @@
|
|
#define DEFPIDEXT ".pid"
|
|
#define DEFPIDLEN 14 /* The string length of /var/run/.pid + 1 */
|
|
|
|
+#if __STDC_VERSION__ <= 201710L
|
|
typedef enum _boolean {false, true} boolean;
|
|
+#else
|
|
+typedef bool boolean;
|
|
+#endif
|
|
|
|
extern char **environ;
|
|
extern char * newenvp[];
|