From daac7b3b2aae9895e6fd46588739b992655c66f5 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 5 Mar 2010 10:32:35 +0100 Subject: forkpty() compatibility --- src/dirax.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/dirax.c') diff --git a/src/dirax.c b/src/dirax.c index 893b21fb..7b1322f2 100644 --- a/src/dirax.c +++ b/src/dirax.c @@ -19,14 +19,17 @@ #include #include #include -#include #include #include #include #include #include -#include -#include + +#if HAVE_FORKPTY_LINUX +#include +#elif HAVE_FORKPTY_BSD +#include +#endif #include "image.h" -- cgit v1.2.3