summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-04-15 00:42:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-04-15 00:42:16 +0000
commit9011c4a4539c598f0624d990feaf45dd7b6cc342 (patch)
tree69dbf834e165f54857c5eb30bc0a01608efa0590 /gnu/usr.sbin
parenta58d614a4f3ed7de2b3d947b73406c6495068e52 (diff)
do rusage expansion on openbsd too
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/mkisofs/mkisofs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.sbin/mkisofs/mkisofs.c b/gnu/usr.sbin/mkisofs/mkisofs.c
index 4f9eb51b9bd..f6bac52f1a5 100644
--- a/gnu/usr.sbin/mkisofs/mkisofs.c
+++ b/gnu/usr.sbin/mkisofs/mkisofs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkisofs.c,v 1.4 2000/08/02 04:10:45 millert Exp $ */
+/* $OpenBSD: mkisofs.c,v 1.5 2001/04/15 00:42:15 deraadt Exp $ */
/*
* Program mkisofs.c - generate iso9660 filesystem based upon directory
* tree on hard disk.
@@ -54,7 +54,7 @@ static char rcsid[] ="$From: mkisofs.c,v 1.10.1.3 1998/06/02 03:36:16 eric Exp $
#include "exclude.h"
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -460,7 +460,7 @@ int FDECL2(main, int, argc, char **, argv){
usage();
exit(1);
}
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
{
int resource;
struct rlimit rlp;