--- a/gethost.c +++ b/gethost.c @@ -29,7 +29,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -#include "sh.h" +#include +#include +#include +#include +#include +#include #ifdef SCO # define perror __perror @@ -45,8 +50,7 @@ # undef system #endif -#include -#include +#define INBUFSIZE 8192 #define ISSPACE(p) (isspace((unsigned char) (p)) && (p) != '\n')