Subject: misc/4540: does not #include
To: None <gnats-bugs@gnats.netbsd.org>
From: Mika Nystrom <mika@cs.caltech.edu>
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
>Last-Modified:
>Originator:     Mika Nystrom
>Organization:
	Department of Computer Science
	California Institute of Technology
	Pasadena, California, U.S.A.
>Release:        up to and including November, 1997
>Environment:
System: NetBSD maestro.cs.caltech.edu 1.2 NetBSD 1.2 (MAESTRO) #1: Sat Nov 23 13:30:28 PST 1996 mika@violin.cs.caltech.edu:/usr/src/sys/arch/i386/compile/MAESTRO i386


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

SYNOPSIS
     #include <a.out.h>

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

>How-To-Repeat:
	obvious
>Fix:
	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.
>Audit-Trail:
>Unformatted: