aboutsummaryrefslogtreecommitdiff
path: root/conform
diff options
context:
space:
mode:
Diffstat (limited to 'conform')
-rw-r--r--conform/conformtest.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index 5a15760..aa61d89 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -56,7 +56,7 @@ $CFLAGS{"XOPEN2K"} = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=600";
$mustprepend{'regex.h'} = "#include <sys/types.h>\n";
$mustprepend{'sched.h'} = "#include <sys/types.h>\n";
$mustprepend{'signal.h'} = "#include <pthread.h>\n";
-$mustprepend{'stdio.h'} = "#include <stdarg.h>\n";
+$mustprepend{'stdio.h'} = "#include <sys/types.h>\n";
$mustprepend{'wchar.h'} = "#include <stdarg.h>\n";
$mustprepend{'wordexp.h'} = "#include <stddef.h>\n";
@@ -668,9 +668,8 @@ while ($#headers >= 0) {
# Remember that this name is allowed.
push @allow, $type;
- # Generate a program to test for the availability of this constant.
+ # Generate a program to test for the availability of this type.
open (TESTFILE, ">$fnamebase.c");
- print TESTFILE "$prepend";
print TESTFILE "#include <$h>\n";
if ($maybe_opaque == 1) {
print TESTFILE "$type *a;\n";