From owner-freebsd-current Fri May 9 14:26:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA29630 for current-outgoing; Fri, 9 May 1997 14:26:19 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA29624 for ; Fri, 9 May 1997 14:26:15 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id HAA23149; Sat, 10 May 1997 07:24:32 +1000 Date: Sat, 10 May 1997 07:24:32 +1000 From: Bruce Evans Message-Id: <199705092124.HAA23149@godzilla.zeta.org.au> To: eivind@bitbox.follo.net, imp@village.org Subject: Re: #include problem breaks current Cc: bde@zeta.org.au, freebsd-current@FreeBSD.ORG, roberto@keltia.freenix.fr, sos@sos.freebsd.dk Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Right now I'd say the vast majority of cases are documented. For >example, see the connect man page. It clearly shows that you have to >include sys/types.h before sys/socket.h. fts clearly shows that >sys/types.h and sys/stat.h are requried to be included before fts.h. But sys/stat.h isn't required. It is only required to access (*fts_statp). I fixed many man pages in -current so that the headers given in the synopsis actually worked, but connect.2 and fts.3 already had correct headers. Bruce