From owner-freebsd-bugs Sat Apr 8 8:30: 8 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 203F237BA9A for ; Sat, 8 Apr 2000 08:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA46931; Sat, 8 Apr 2000 08:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.hcisp.net (Stargate.hcisp.net [208.60.89.18]) by hub.freebsd.org (Postfix) with SMTP id A287B37B577 for ; Sat, 8 Apr 2000 08:25:19 -0700 (PDT) (envelope-from tim@mysql.com) Received: (qmail 24248 invoked from network); 8 Apr 2000 15:33:35 -0000 Received: from modem4.hcisp.net (HELO threads.polyesthetic.msg) (208.60.89.70) by stargate.hcisp.net with SMTP; 8 Apr 2000 15:33:35 -0000 Received: (qmail 18378 invoked by uid 1001); 8 Apr 2000 15:24:48 -0000 Message-Id: <20000408152448.18377.qmail@threads.polyesthetic.msg> Date: 8 Apr 2000 15:24:48 -0000 From: "Thimble Smith" Reply-To: tim@mysql.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/17864: PATCH: sys/resource.h needs sys/time.h for struct timeval Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17864 >Category: bin >Synopsis: PATCH: sys/resource.h needs sys/time.h for struct timeval >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 8 08:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Thimble Smith >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: >Description: Programs that include without including first will not compile, because struct timeval is not defined. This could be a bug in the program instead of in FreeBSD. If so, go ahead and tell me so and I'll bug the program's authors. >How-To-Repeat: >Fix: --- /usr/tmp/resource.h Sat Apr 8 11:17:30 2000 +++ /usr/include/sys/resource.h Sat Apr 8 11:17:48 2000 @@ -37,6 +37,8 @@ #ifndef _SYS_RESOURCE_H_ #define _SYS_RESOURCE_H_ +#include + /* * Process priority specifications to get/setpriority. */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message