mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
feature tests: do not re-include <stdio.h>
iffe --man documents that stdio.h is automatically pre-included for
all feature tests. Including it in the test code is not needed.
You'd think it shouldn't do any harm, but on a Gentoo i386 system,
this include turned out to be the cause of a mysterious 'unknown
type: off64_t' error while compiling the output{ ... }end block in
features/pty. I'm not going to bother with further tracing the
cause of that -- there is some hackery with off64_t defines in the
AST headers that probably has something to do with it.
src/cmd/builtin/features/pty,
src/lib/libast/features/float,
src/lib/libast/features/sfio,
src/lib/libast/features/stdio:
- Remove '#include <stdio.h>' from output{ ... }end blocks.
This commit is contained in:
parent
b6bd9815a4
commit
308696ec95
4 changed files with 0 additions and 8 deletions
|
|
@ -13,7 +13,6 @@ lib openpty,_getpty,ptsname -lutil
|
|||
lib grantpt,unlockpt,posix_openpt stdlib.h
|
||||
|
||||
tst - output{
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#if _lib_ptsname && _npt_ptsname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue