summary refs log tree commit diff
path: root/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/login.c')
-rw-r--r--login/login.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/login/login.c b/login/login.c
index f74ce41ad8..446b6b927b 100644
--- a/login/login.c
+++ b/login/login.c
@@ -23,6 +23,10 @@ Boston, MA 02111-1307, USA.  */
 #include <unistd.h>
 #include <utmp.h>
 
+/* XXX used for tty name array in login.  */
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
 
 void
 login (const struct utmp *ut)