summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-11-02 10:51:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-11-02 10:51:07 +0000
commit92fd2bfb98ca12309c5c613cd6d5e3370c12a515 (patch)
tree7c6770b18c2076121a546a7ccf40d31fffc71af2
parent7b92ded008c3ac0b66c14156ceb0b2a694f6d78e (diff)
Include <sys/time.h> such that <sys/resource.h> becomes usable on its own as
required by POSIX X/Open extensions for quite a while now. ok millert@, guenther@, deraadt@
-rw-r--r--sys/sys/resource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/resource.h b/sys/sys/resource.h
index 0e112a87818..4384a41fc43 100644
--- a/sys/sys/resource.h
+++ b/sys/sys/resource.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resource.h,v 1.8 2010/07/26 01:56:27 guenther Exp $ */
+/* $OpenBSD: resource.h,v 1.9 2010/11/02 10:51:06 kettenis Exp $ */
/* $NetBSD: resource.h,v 1.14 1996/02/09 18:25:27 christos Exp $ */
/*
@@ -35,6 +35,8 @@
#ifndef _SYS_RESOURCE_H_
#define _SYS_RESOURCE_H_
+#include <sys/time.h>
+
/*
* Process priority specifications to get/setpriority.
*/