FreeBSD lacks TTY_NAME_MAX.

This commit is contained in:
Nicholas Marriott 2007-10-23 10:21:59 +00:00
parent 25e94a0526
commit 14fdb49c19
1 changed files with 5 additions and 1 deletions

6
tmux.h
View File

@ -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