inpty.cc: Align configuration to be like mosh-server.cc.

This fixes a FreeBSD 11.0 build failure.
This commit is contained in:
john hood
2016-11-12 23:02:29 -05:00
committed by John Hood
parent 43251ea8db
commit 74469a7592
+4 -1
View File
@@ -39,13 +39,16 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#if HAVE_PTY_H
#include <pty.h>
#elif HAVE_UTIL_H
#include <util.h>
#elif HAVE_LIBUTIL_H
#endif
#if FORKPTY_IN_LIBUTIL
#include <libutil.h>
#endif