diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-05-27 13:13:40 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-05-27 13:13:40 +0200 |
commit | 2be1cbb7be25d32bc5741c96cc4d6951bd91fc30 (patch) | |
tree | 576901c63af5bc125eafd90698dcf41a20a89f48 /defines.h | |
parent | - (djm) [defines.h] Use our realpath if we have to define PATH_MAX, spotted by (diff) | |
download | openssh-2be1cbb7be25d32bc5741c96cc4d6951bd91fc30.tar.xz openssh-2be1cbb7be25d32bc5741c96cc4d6951bd91fc30.zip |
- (dtucker) [acconfig.h configure.ac defines.h includes.h sshpty.c
openbsd-compat/bsd-misc.c] Add support for Ultrix. No, that's not a typo.
Required changes from Bernhard Simon, integrated by me. ok djm@
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.120 2005/05/27 09:36:56 djm Exp $ */ +/* $Id: defines.h,v 1.121 2005/05/27 11:13:41 dtucker Exp $ */ /* Constants */ @@ -668,4 +668,12 @@ struct winsize { /** end of login recorder definitions */ +#ifdef BROKEN_GETGROUPS +# define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) +#endif + +#if defined(HAVE_MMAP) && defined(BROKEN_MMAP) +# undef HAVE_MMAP +#endif + #endif /* _DEFINES_H */ |