summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-05 23:41:29 +0000
committerRoland McGrath <roland@redhat.com>1993-01-05 23:41:29 +0000
commit5b45a568c05d4f73b69d3def173776e074fa3d1c (patch)
tree997fd643f98a2b4f2ceb1fd5ee67ca97815b1d59
parentd19c2ef04975331d8881a8cba085cce9c2eb10a3 (diff)
downloadgunmake-5b45a568c05d4f73b69d3def173776e074fa3d1c.tar.gz
Formerly job.c.~87~
-rw-r--r--job.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/job.c b/job.c
index 003a473..2cc6c32 100644
--- a/job.c
+++ b/job.c
@@ -1,5 +1,5 @@
/* Job execution and handling for GNU Make.
-Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -45,8 +45,6 @@ char default_shell[] = "/bin/sh";
#if defined(HAVE_SYS_WAIT) || !defined(USG)
#include <sys/wait.h>
-#include <sys/time.h>
-#include <sys/resource.h>
#ifndef wait3
extern int wait3 ();
@@ -759,7 +757,7 @@ load_too_high ()
static int lossage = 0;
/* Complain only once for the same error. */
if (lossage == 0 || errno != lossage)
- perror_with_name ("getloadavg", "");
+ perror_with_name ("cannot enforce load limit", "getloadavg");
lossage = errno;
load = 0;
}