diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-25 15:49:04 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-25 15:49:04 +0000 |
commit | 0177f1e0d7b791817d4c6fb1b8ffe7688d7b2cc0 (patch) | |
tree | 7598f930b890058cc6e75258a56f434e6bcbe74a /usr.bin/sudo/compat.h | |
parent | 14b8b5d2aa7b438deeec468009118f4478d90116 (diff) |
Update to sudo 1.6.6
Diffstat (limited to 'usr.bin/sudo/compat.h')
-rw-r--r-- | usr.bin/sudo/compat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/sudo/compat.h b/usr.bin/sudo/compat.h index 2d5c0ad6e79..09f95e371ec 100644 --- a/usr.bin/sudo/compat.h +++ b/usr.bin/sudo/compat.h @@ -31,7 +31,7 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Sudo: compat.h,v 1.62 2002/01/08 15:00:18 millert Exp $ + * $Sudo: compat.h,v 1.63 2002/01/25 18:38:22 millert Exp $ */ #ifndef _SUDO_COMPAT_H @@ -245,4 +245,12 @@ typedef struct sigaction sigaction_t; # endif #endif +/* + * HP-UX 9.x has RLIMIT_* but no RLIM_INFINITY. + * Using -1 works because we only check for RLIM_INFINITY and do not set it. + */ +#ifndef RLIM_INFINITY +# define RLIM_INFINITY (-1) +#endif + #endif /* _SUDO_COMPAT_H */ |