summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-04-15 00:48:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-04-15 00:48:36 +0000
commitccd830e587e69f8a2a6964e5db4a9195a202aa51 (patch)
tree813111f5f5bc4fe9d342e1e7259b396fb005c7c6 /gnu
parent9011c4a4539c598f0624d990feaf45dd7b6cc342 (diff)
do rusage expansion on openbsd too
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.sbin/mkhybrid/src/mkisofs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.sbin/mkhybrid/src/mkisofs.c b/gnu/usr.sbin/mkhybrid/src/mkisofs.c
index 0c4642406ea..130d38c8741 100644
--- a/gnu/usr.sbin/mkhybrid/src/mkisofs.c
+++ b/gnu/usr.sbin/mkhybrid/src/mkisofs.c
@@ -20,7 +20,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-static char rcsid[] ="$Id: mkisofs.c,v 1.1 2000/10/10 20:40:19 beck Exp $";
+static char rcsid[] ="$Id: mkisofs.c,v 1.2 2001/04/15 00:48:35 deraadt Exp $";
/* APPLE_HYB James Pearson j.pearson@ge.ucl.ac.uk 12/3/99 */
@@ -57,7 +57,7 @@ static char rcsid[] ="$Id: mkisofs.c,v 1.1 2000/10/10 20:40:19 beck Exp $";
#include "exclude.h"
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -1129,7 +1129,7 @@ int FDECL2(main, int, argc, char **, argv){
parse_input_files:
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
{
int resource;
struct rlimit rlp;