Fix build when libutil.h exists but is deprecated
This commit is contained in:
@@ -20,9 +20,6 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <locale.h>
|
||||
#ifdef HAVE_LIBUTIL_H
|
||||
#include <libutil.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
@@ -59,6 +56,10 @@ extern "C" {
|
||||
#include <util.h>
|
||||
#endif
|
||||
|
||||
#if FORKPTY_IN_LIBUTIL
|
||||
#include <libutil.h>
|
||||
#endif
|
||||
|
||||
#include "networktransport.cc"
|
||||
|
||||
typedef Network::Transport< Terminal::Complete, Network::UserStream > ServerConnection;
|
||||
|
||||
Reference in New Issue
Block a user