Check for paths.h and make sure we have _PATH_BSHELL
This commit is contained in:
@@ -39,7 +39,10 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <getopt.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef HAVE_PATHS_H
|
||||
#include <paths.h>
|
||||
#endif
|
||||
|
||||
#include "sigfd.h"
|
||||
#include "completeterminal.h"
|
||||
@@ -58,6 +61,10 @@
|
||||
#include <libutil.h>
|
||||
#endif
|
||||
|
||||
#ifndef _PATH_BSHELL
|
||||
#define _PATH_BSHELL "/bin/sh"
|
||||
#endif
|
||||
|
||||
#include "networktransport.cc"
|
||||
|
||||
typedef Network::Transport< Terminal::Complete, Network::UserStream > ServerConnection;
|
||||
|
||||
Reference in New Issue
Block a user