Subject: misc/4540: does not #include
To: None <>
From: Mika Nystrom <>
List: netbsd-bugs
Date: 11/18/1997 12:23:26
>Number:         4540
>Category:       misc
>Synopsis:       <a.out.h> does not #include <sys/types.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 18 12:35:04 1997
>Originator:     Mika Nystrom
	Department of Computer Science
	California Institute of Technology
	Pasadena, California, U.S.A.
>Release:        up to and including November, 1997
System: NetBSD 1.2 NetBSD 1.2 (MAESTRO) #1: Sat Nov 23 13:30:28 PST 1996 i386

	The man page for a.out(5) suggests that it is possible to access
data structures describing the "a.out" file format by:

     #include <a.out.h>

This is not so.  a.out.h requires the prior inclusion of <sys/types.h>

	either #include <sys/types.h> in /usr/include/a.out.h OR fix
the documentation for a.out(5) to indicate that the inclusion of
<sys/types.h> is required to access the a.out structures.