dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 3e28e21cff8444bf89f24aa700a8600c1bdbc086
parent f17d1cfb4e06e0635accf829ecfcd39569a3fb6d
Author: Ross Mohn <rpmohn@waxandwane.org>
Date:   Sun, 22 May 2011 22:07:06 +0200

First part of AIX support

Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>

Diffstat:
dvtm.c | 6+++++-
madtty.c | 2+-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -13,7 +13,11 @@ #define _GNU_SOURCE #include <sys/stat.h> #include <sys/ioctl.h> -#include <sys/fcntl.h> +#ifdef _AIX +# include <fcntl.h> +#else +# include <sys/fcntl.h> +#endif #include <sys/wait.h> #include <sys/time.h> #include <sys/types.h> diff --git a/madtty.c b/madtty.c @@ -40,7 +40,7 @@ #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) # include <util.h> #endif -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_AIX) # include <alloca.h> #endif