summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/check-installed-headers.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/check-installed-headers.sh b/scripts/check-installed-headers.sh
index 4cbef0ea49..a5e37c3229 100644
--- a/scripts/check-installed-headers.sh
+++ b/scripts/check-installed-headers.sh
@@ -84,6 +84,11 @@ for header in "$@"; do
(sys/elf.h)
continue;;
+ # libio.h and _G_config.h are deprecation stubs containing #warnings
+ # to use stdio.h instead.
+ (libio.h | _G_config.h)
+ continue;;
+
# sys/sysctl.h is unsupported for x32.
(sys/sysctl.h)
case "$is_x32" in