diff options
-rw-r--r-- | lib/libc/gen/nice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/nice.c b/lib/libc/gen/nice.c index 8d00c32d2b4..b6a95079fa6 100644 --- a/lib/libc/gen/nice.c +++ b/lib/libc/gen/nice.c @@ -32,12 +32,13 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: nice.c,v 1.2 1996/08/19 08:25:05 tholo Exp $"; +static char rcsid[] = "$OpenBSD: nice.c,v 1.3 1998/05/06 23:11:43 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> +#include <errno.h> #include <unistd.h> /* @@ -48,7 +49,6 @@ nice(incr) int incr; { int prio; - extern int errno; errno = 0; prio = getpriority(PRIO_PROCESS, 0); |