mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
#Include <sys/types.h> so that <sys/resource.h> can be #included without
explicitly #including <sys/types.h>. Some gnu software (?gdb) depends on this and broke when I fixed <stdio.h> to not include <sys/types.h>. Bruce
This commit is contained in:
parent
dd3d164f9e
commit
54c2af254d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5767
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)resource.h 8.2 (Berkeley) 1/4/94
|
||||
* $Id$
|
||||
* $Id: resource.h,v 1.2 1994/08/02 07:53:28 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_RESOURCE_H_
|
||||
@ -90,6 +90,8 @@ struct rusage {
|
||||
|
||||
#define RLIM_NLIMITS 9 /* number of resource limits */
|
||||
|
||||
#include <sys/types.h> /* XXX for quad_t */
|
||||
|
||||
#define RLIM_INFINITY (((u_quad_t)1 << 63) - 1)
|
||||
|
||||
struct orlimit {
|
||||
|
Loading…
Reference in New Issue
Block a user