summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
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 ac2d9669..5b0b0740 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.81 2002/03/08 03:11:08 mouring Exp $ */
+/* $Id: defines.h,v 1.81.2.1 2002/03/13 02:24:51 djm Exp $ */
/* Necessary headers */
@@ -89,6 +89,14 @@ enum
# endif /* PATH_MAX */
#endif /* MAXPATHLEN */
+#ifndef MAXLOGNAME
+# ifdef LOGIN_NAME_MAX
+# define MAXLOGNAME LOGIN_NAME_MAX
+# else
+# define MAXLOGNAME 64 /* XXX: arbitrary */
+# endif
+#endif
+
#ifndef STDIN_FILENO
# define STDIN_FILENO 0
#endif