From a3967de9a58f1773b8ca01a1f98fcafb86b73ac1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 11 Oct 2017 08:03:31 +0100 Subject: Include headers if found regardless of forkpty. --- compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat.h b/compat.h index e06f104d..b83e6189 100644 --- a/compat.h +++ b/compat.h @@ -101,17 +101,17 @@ void warnx(const char *, ...); #include #endif -#ifdef HAVE_FORKPTY #ifdef HAVE_LIBUTIL_H #include #endif + #ifdef HAVE_PTY_H #include #endif + #ifdef HAVE_UTIL_H #include #endif -#endif #ifdef HAVE_VIS #include -- cgit