summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-05-24 13:08:10 +0000
committerGerd Moellmann <gerd@gnu.org>2000-05-24 13:08:10 +0000
commita0bca0d9e397defe3c74c05f3eb377681aea6b43 (patch)
tree0dd4822465e7a3cd4f25c61953498a04a63911ac /src/sysdep.c
parentc06c3ab3a5efe5f5e724868382019512b80834a1 (diff)
downloademacs-a0bca0d9e397defe3c74c05f3eb377681aea6b43.tar.gz
(setpgrp): Don't define if USG and BSD_PGRPS are not defined.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 4da3879dbfe..36c204ff11a 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -76,8 +76,10 @@ extern int h_errno;
#endif
#ifdef HAVE_SETPGID
+#if !defined (USG) || defined (BSD_PGRPS)
#define setpgrp setpgid
#endif
+#endif
/* Get SI_SRPC_DOMAIN, if it is available. */
#ifdef HAVE_SYS_SYSTEMINFO_H