Date: 8 Apr 2000 15:24:48 -0000 From: "Thimble Smith" <tim@mysql.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/17864: PATCH: sys/resource.h needs sys/time.h for struct timeval Message-ID: <20000408152448.18377.qmail@threads.polyesthetic.msg>
next in thread | raw e-mail | index | archive | help
>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 <sys/resource.h> without including <sys/time.h> 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 <sys/time.h> + /* * 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000408152448.18377.qmail>