Date: Sun, 29 Aug 1999 11:47:50 -0700 (PDT) From: lrobb@iname.com To: freebsd-gnats-submit@freebsd.org Subject: misc/13458: <sys/resource.h> didn't include <sys/time.h>, needed for timeval Message-ID: <19990829184750.AD58314CFC@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 13458
>Category: misc
>Synopsis: <sys/resource.h> didn't include <sys/time.h>, needed for timeval
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 29 11:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Lee Robb
>Release: 3.2
>Organization:
>Environment:
FreeBSD 3.2 -RELEASE
>Description:
/usr/include/sys/resource.h ( <sys/resource.h> )
uses struct timeval, but doesn't #include <sys/time.h>, where
timeval is defined.
>How-To-Repeat:
#include <sys/resource.h>
main() {
return 0;
}
-- won't compile
>Fix:
in <sys/resource.h> #include <sys/time.h>
>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?19990829184750.AD58314CFC>
