summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-05-05 22:04:13 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-05-05 22:04:13 +0000
commite659da100dfb628ef07ae583ed3f1976167b83da (patch)
tree66ca08b8f019088c8d6a99ee1a0c855e4601d88b /lib/libc
parente095485cdbd8c77560e23f3df9b33708bc64ac8e (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/nice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/nice.c b/lib/libc/gen/nice.c
index 8b37c06c2073..104c1a22a61a 100644
--- a/lib/libc/gen/nice.c
+++ b/lib/libc/gen/nice.c
@@ -38,6 +38,7 @@ static char sccsid[] = "@(#)nice.c 8.1 (Berkeley) 6/4/93";
#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);