summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-03-09 09:41:56 +1100
committerDarren Tucker <dtucker@dtucker.net>2022-03-09 09:41:56 +1100
commit5ae31a0fdd27855af29f48ff027491629fff5979 (patch)
tree06c838ce325fd6321812afc506c9e4b499b73db2 /openbsd-compat/openbsd-compat.h
parentc41c84b439f4cd74d4fe44298a4b4037ddd7d2ae (diff)
Provide killpg implementation.
Based on github PR#301 for Tandem NonStop.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 0cecfb62..4316ab84 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -82,6 +82,10 @@ int getpagesize(void);
char *getcwd(char *pt, size_t size);
#endif
+#ifndef HAVE_KILLPG
+int killpg(pid_t, int);
+#endif
+
#if defined(HAVE_DECL_MEMMEM) && HAVE_DECL_MEMMEM == 0
void *memmem(const void *, size_t, const void *, size_t);
#endif