diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-21 06:58:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-21 06:58:23 +0000 |
commit | 2c3ece881d4d8719862a02a5484ef11c53f2f851 (patch) | |
tree | 14a662600d1179e5be7ef78bcea7165cdddc7568 /libc/sysdeps/linux/common/prctl.c | |
parent | 391f8995aff1098f23265ebd9510dee90bdc6fdf (diff) |
michael_d writes in [#2064]: fix building on linux-2.0 systems
Diffstat (limited to 'libc/sysdeps/linux/common/prctl.c')
-rw-r--r-- | libc/sysdeps/linux/common/prctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/prctl.c b/libc/sysdeps/linux/common/prctl.c index b50caf32f..485386727 100644 --- a/libc/sysdeps/linux/common/prctl.c +++ b/libc/sysdeps/linux/common/prctl.c @@ -10,5 +10,8 @@ #include <sys/syscall.h> #include <stdarg.h> /* psm: including sys/prctl.h would depend on kernel headers */ + +#ifdef __NR_prctl extern int prctl (int, long, long, long, long); _syscall5(int, prctl, int, option, long, arg2, long, arg3, long, arg4, long, arg5); +#endif |