diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2016-09-12 01:22:38 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-09-12 13:46:29 +1000 |
commit | 9136ec134c97a8aff2917760c03134f52945ff3c (patch) | |
tree | bfcab357e6e0f510d9b63bac43b18097e89fa58a /sandbox-rlimit.c | |
parent | f219fc8f03caca7ac82a38ed74bbd6432a1195e7 (diff) |
upstream commit
Add MAXIMUM(), MINIMUM(), and ROUNDUP() to misc.h, then
use those definitions rather than pulling <sys/param.h> and unknown namespace
pollution. ok djm markus dtucker
Upstream-ID: 712cafa816c9f012a61628b66b9fbd5687223fb8
Diffstat (limited to 'sandbox-rlimit.c')
-rw-r--r-- | sandbox-rlimit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox-rlimit.c b/sandbox-rlimit.c index bba80778b..0bff3dfba 100644 --- a/sandbox-rlimit.c +++ b/sandbox-rlimit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sandbox-rlimit.c,v 1.3 2011/06/23 09:34:13 djm Exp $ */ | 1 | /* $OpenBSD: sandbox-rlimit.c,v 1.4 2016/09/12 01:22:38 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller <djm@mindrot.org> | 3 | * Copyright (c) 2011 Damien Miller <djm@mindrot.org> |
4 | * | 4 | * |
@@ -20,7 +20,6 @@ | |||
20 | #ifdef SANDBOX_RLIMIT | 20 | #ifdef SANDBOX_RLIMIT |
21 | 21 | ||
22 | #include <sys/types.h> | 22 | #include <sys/types.h> |
23 | #include <sys/param.h> | ||
24 | #include <sys/time.h> | 23 | #include <sys/time.h> |
25 | #include <sys/resource.h> | 24 | #include <sys/resource.h> |
26 | 25 | ||