Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 11:45:54 +1030 (CST)
From:      "Daniel J. O'Connor" <darius@holly.dons.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/5758: sys/resources.h doesn't include sys/time.h
Message-ID:  <199802160115.LAA01029@holly.dons.net.au>

next in thread | raw e-mail | index | archive | help

>Number:         5758
>Category:       bin
>Synopsis:       sys/resources.h doesn't include sys/time.h
>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:   Sun Feb 15 17:20:00 PST 1998
>Last-Modified:
>Originator:     Daniel J. O'Connor
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:



>Description:

sys/resource.h doesn't include sys/time.h so struct timeval isn't
available
(Its just annoying really :)

>How-To-Repeat:

Do #include <sys/resource.h> without doing #include <sys/time.h> is a
C program

>Fix:
	
Add #include <sys/time.h> in sys/resource.h

>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?199802160115.LAA01029>