Include headers if found regardless of forkpty.

pull/1103/merge
Nicholas Marriott 2017-10-11 08:03:31 +01:00
parent 2be01ab4ec
commit a3967de9a5
1 changed files with 2 additions and 2 deletions

View File

@ -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>