https://bugzilla.novell.com/show_bug.cgi?id=408439
Summary: tty_ioctl(4) has missing include line
Product: openSUSE 11.0
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Documentation
AssignedTo: pgajdos@novell.com
ReportedBy: bwalle@novell.com
QAContact: ke@novell.com
Found By: Development
Compiling the attached test program fails with following error:
[bwalle@halley ~] gcc -o test test.c
test.c: In function ‘main’:
test.c:10: error: storage size of ‘sz’ isn’t known
test.c:12: error: ‘TIOCGWINSZ’ undeclared (first use in this function)
test.c:12: error: (Each undeclared identifier is reported only once
test.c:12: error: for each function it appears in.)
#include