summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-05-27 13:13:40 +0200
committerDarren Tucker <dtucker@zip.com.au>2005-05-27 13:13:40 +0200
commit2be1cbb7be25d32bc5741c96cc4d6951bd91fc30 (patch)
tree576901c63af5bc125eafd90698dcf41a20a89f48 /defines.h
parent - (djm) [defines.h] Use our realpath if we have to define PATH_MAX, spotted by (diff)
downloadopenssh-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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index d75d458f4..3a11e6d65 100644
--- a/defines.h
+++ b/defines.h
@@ -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 */