1#include <unistd.h>
2#include <sys/resource.h>
3#include "syscall.h"
4
5int nice(int inc)
6{
7#ifdef SYS_nice
8	return syscall(SYS_nice, inc);
9#else
10	return setpriority(PRIO_PROCESS, 0, getpriority(PRIO_PROCESS, 0)+inc);
11#endif
12}
13