mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00: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>
15 lines
355 B
Diff
15 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[];
|