aboutsummaryrefslogtreecommitdiff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/login.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/login/login.c b/login/login.c
index f74ce41..446b6b9 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)