From owner-freebsd-bugs Sat May 13 20: 0:13 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8606637BC90 for ; Sat, 13 May 2000 20:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA51515; Sat, 13 May 2000 20:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 2CB5B37BC15 for ; Sat, 13 May 2000 19:59:33 -0700 (PDT) (envelope-from andrew@ugh.net.au) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 99AAEA837; Sun, 14 May 2000 12:59:34 +1000 (EST) Message-Id: <20000514025934.99AAEA837@starbug.ugh.net.au> Date: Sun, 14 May 2000 12:59:34 +1000 (EST) From: andrew@ugh.net.au Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/18538: sysinstall doesn't include enough headers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18538 >Category: bin >Synopsis: sysinstall doesn't include enough headers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 13 20:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: FreeBSD 4.0-STABLE i386 >Organization: UgH! >Environment: >Description: When compiling sysinstall the compiler warns of an implicit declaration of sysctlbyname. This is because system.c doesn't include sys/sysctl.h. According to sysctl(3) including sys/sysctl.h also requires sys/types.h to be included. >How-To-Repeat: >Fix: --- system.c.orig Sun May 14 12:53:20 2000 +++ system.c Sun May 14 12:54:03 2000 @@ -24,6 +24,8 @@ #include #include #include +#include +#include /* Where we stick our temporary expanded doc file */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message