summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libncurses/Makefile2
-rw-r--r--lib/ncurses/ncurses/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 3e4fdae..6db4a7b 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -25,7 +25,7 @@ BROKEN_LINKER= 0
BUILTIN_BOOL= 1
BOOL_TYPE= 0
HAVE_VSSCANF= 1
-.if defined(BOOTSTRAPPING)
+.if defined(BOOTSTRAPPING) && !exists(/usr/include/stdbool.h)
HEADER_STDBOOL= 0
.else
HEADER_STDBOOL= 1
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 3e4fdae..6db4a7b 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -25,7 +25,7 @@ BROKEN_LINKER= 0
BUILTIN_BOOL= 1
BOOL_TYPE= 0
HAVE_VSSCANF= 1
-.if defined(BOOTSTRAPPING)
+.if defined(BOOTSTRAPPING) && !exists(/usr/include/stdbool.h)
HEADER_STDBOOL= 0
.else
HEADER_STDBOOL= 1
OpenPOWER on IntegriCloud