diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-17 23:37:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-17 23:37:46 +0000 |
commit | f6875e0f6b4501c2f889a84dbcfe626c11dfc486 (patch) | |
tree | 8386c9a6e412e90b032a6a88a27527aef2abb493 /libc/sysdeps | |
parent | 5aa97ad5d178c1f9616b951fbfd33abf86649a23 (diff) |
dont try to build getpgrp if the arch doesnt support it (like ia64)
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/getpgrp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getpgrp.c b/libc/sysdeps/linux/common/getpgrp.c index b8b599eae..a910cb0cc 100644 --- a/libc/sysdeps/linux/common/getpgrp.c +++ b/libc/sysdeps/linux/common/getpgrp.c @@ -9,4 +9,7 @@ #include "syscalls.h" #include <unistd.h> + +#ifdef __NR_getpgrp _syscall0(pid_t, getpgrp); +#endif |