summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-28 22:17:10 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-28 22:17:10 +0000
commita3fc9dee3235010bce4e8b183e4fdc375dd7b6b7 (patch)
tree53ef0b2bbc18857ebae242f6256eca1b58d44755 /compat.h
parentd637cb33da212a74636984be0ce9dfface6be6b4 (diff)
Add PASS_MAX for glibc.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 27223abc..b9ddb8de 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +1,4 @@
-/* $Id: compat.h,v 1.7 2009-07-21 13:07:50 nicm Exp $ */
+/* $Id: compat.h,v 1.8 2009-07-28 22:17:10 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -116,6 +116,10 @@
} while (0)
#endif
+#ifndef PASS_MAX
+#define PASS_MAX 128
+#endif
+
#ifndef TTY_NAME_MAX
#define TTY_NAME_MAX 32
#endif