summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/nice.c')
-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 8b37c06..104c1a2 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);
OpenPOWER on IntegriCloud