summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-02 23:31:42 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-02 23:31:42 +1000
commit2e9c9cf702d8e90809d901ec51358406be6f810a (patch)
tree175e32010d57d4aa3f3b818018fead17ef5aacfd /openbsd-compat/bsd-misc.h
parent06ef75bf0c2449ab4880f6ff40729497782e6e60 (diff)
- (dtucker) [openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
Add a tcgetpgrp function.
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 00e508cf..03a1f3af 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: bsd-misc.h,v 1.8 2003/05/18 14:13:39 djm Exp $ */
+/* $Id: bsd-misc.h,v 1.9 2003/08/02 13:31:42 dtucker Exp $ */
#ifndef _BSD_MISC_H
#define _BSD_MISC_H
@@ -89,4 +89,8 @@ struct timespec {
int nanosleep(const struct timespec *, struct timespec *);
#endif
+#ifndef HAVE_TCGETPGRP
+pid_t tcgetpgrp(int);
+#endif /* HAVE_TCGETPGRP */
+
#endif /* _BSD_MISC_H */