aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index d28cab99..46c09a4c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.63 2007-10-23 09:36:19 nicm Exp $ */
+/* $Id: tmux.h,v 1.64 2007-10-23 10:21:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -40,6 +40,10 @@ extern char *__progname;
#define __packed __attribute__ ((__packed__))
#endif
+#ifndef TTY_NAME_MAX
+#define TTY_NAME_MAX 32
+#endif
+
#define MAXNAMELEN 32
#define MAXTITLELEN 192