Skip to content

Commit

Permalink
Include headers if found regardless of forkpty.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Oct 11, 2017
1 parent 2be01ab commit a3967de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compat.h
Expand Up @@ -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>
Expand Down

0 comments on commit a3967de

Please sign in to comment.