summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-10-11 08:03:31 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-10-11 08:03:31 +0100
commita3967de9a58f1773b8ca01a1f98fcafb86b73ac1 (patch)
treea67a9375b6b84d38757258df74f6dacb30f1fa7b /compat.h
parent2be01ab4ec95b147d4a779f72872099e5d466fde (diff)
Include headers if found regardless of forkpty.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files 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 <paths.h>
#endif
-#ifdef HAVE_FORKPTY
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
#endif
+
#ifdef HAVE_PTY_H
#include <pty.h>
#endif
+
#ifdef HAVE_UTIL_H
#include <util.h>
#endif
-#endif
#ifdef HAVE_VIS
#include <vis.h>