From 09cc5302994a5f245dbbe5875e5e0670f9332a19 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 20 Aug 2009 05:34:58 +0000 Subject: Solaris and AIX have no ttydefaults.h. --- compat.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 7f914b89..401b089a 100644 --- a/compat.h +++ b/compat.h @@ -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 @@ -80,6 +80,18 @@ #include "compat/vis.h" #endif +#ifdef HAVE_TTYDEFAULTS_H +#ifdef HAVE_TTYDEFCHARS +#define TTYDEFCHARS +#endif +#include +#else +#ifndef OXTABS +#define OXTABS 0 +#endif +#include "compat/ttydefaults.h" +#endif + #ifndef HAVE_IMSG #include "compat/imsg.h" #endif -- cgit