diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-20 05:34:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-20 05:34:58 +0000 |
commit | 09cc5302994a5f245dbbe5875e5e0670f9332a19 (patch) | |
tree | 4fbf7ec9502e6fa48a2fdb6f41f3777c50894d5b /compat.h | |
parent | 966818c23d0cf15d93ad3c50ebadfd6d346ef428 (diff) |
Solaris and AIX have no ttydefaults.h.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: compat.h,v 1.11 2009-08-19 09:00:05 nicm Exp $ */ +/* $Id: compat.h,v 1.12 2009-08-20 05:34:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -80,6 +80,18 @@ #include "compat/vis.h" #endif +#ifdef HAVE_TTYDEFAULTS_H +#ifdef HAVE_TTYDEFCHARS +#define TTYDEFCHARS +#endif +#include <sys/ttydefaults.h> +#else +#ifndef OXTABS +#define OXTABS 0 +#endif +#include "compat/ttydefaults.h" +#endif + #ifndef HAVE_IMSG #include "compat/imsg.h" #endif |