summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-02-15 11:41:35 +1100
committerDarren Tucker <dtucker@zip.com.au>2013-02-15 11:41:35 +1100
commit3c4a24c3e329ccca86629ed694b9756309b00113 (patch)
tree31d7a56074a06b4f25ab9514824806527313d5f1 /openbsd-compat/bsd-misc.h
parent4018dc04daa613d0e20df10947b85f154dc5765d (diff)
- (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
Use getpgrp() if we don't have getpgid() (old BSDs, maybe others).
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r--openbsd-compat/bsd-misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index eac5217ca..de8367386 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -1,4 +1,4 @@
1/* $Id: bsd-misc.h,v 1.21 2012/07/03 22:50:10 dtucker Exp $ */ 1/* $Id: bsd-misc.h,v 1.22 2013/02/15 00:41:36 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> 4 * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org>
@@ -102,4 +102,8 @@ mysig_t mysignal(int sig, mysig_t act);
102int isblank(int); 102int isblank(int);
103#endif 103#endif
104 104
105#ifndef HAVE_GETPGID
106pid_t getpgid(pid_t);
107#endif
108
105#endif /* _BSD_MISC_H */ 109#endif /* _BSD_MISC_H */