Check for paths.h and make sure we have _PATH_BSHELL

This commit is contained in:
Keith Winstein
2012-04-16 17:51:52 -04:00
parent 2462434390
commit b4263b354e
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -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;