aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-23 10:21:59 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-23 10:21:59 +0000
commit14fdb49c1906edf3cfe996965dbb3e46a4d486ad (patch)
tree97b954496ce34785769984799c429c426d93567a /tmux.h
parent25e94a05264809294417aeebc63e9d64c487dce1 (diff)
downloadrtmux-14fdb49c1906edf3cfe996965dbb3e46a4d486ad.tar.gz
rtmux-14fdb49c1906edf3cfe996965dbb3e46a4d486ad.tar.bz2
rtmux-14fdb49c1906edf3cfe996965dbb3e46a4d486ad.zip
FreeBSD lacks TTY_NAME_MAX.
Diffstat (limited to 'tmux.h')
-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