inpty.cc: Align configuration to be like mosh-server.cc.
This fixes a FreeBSD 11.0 build failure.
This commit is contained in:
+4
-1
@@ -39,13 +39,16 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <termios.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#if HAVE_PTY_H
|
#if HAVE_PTY_H
|
||||||
#include <pty.h>
|
#include <pty.h>
|
||||||
#elif HAVE_UTIL_H
|
#elif HAVE_UTIL_H
|
||||||
#include <util.h>
|
#include <util.h>
|
||||||
#elif HAVE_LIBUTIL_H
|
#endif
|
||||||
|
|
||||||
|
#if FORKPTY_IN_LIBUTIL
|
||||||
#include <libutil.h>
|
#include <libutil.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user