summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-17 23:37:46 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-17 23:37:46 +0000
commitf6875e0f6b4501c2f889a84dbcfe626c11dfc486 (patch)
tree8386c9a6e412e90b032a6a88a27527aef2abb493 /libc/sysdeps/linux
parent5aa97ad5d178c1f9616b951fbfd33abf86649a23 (diff)
dont try to build getpgrp if the arch doesnt support it (like ia64)
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/getpgrp.c3
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