summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-24 20:46:37 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-26 00:09:04 +1100
commit6c8c9a615b6d31db8a87bc25033f053d5b0a831e (patch)
treec691db023c86aa29fa369207a9a543b0be96344f /openbsd-compat/bsd-misc.h
parenta9004425a032d7a7141a5437cfabfd02431e2a74 (diff)
Check for raise and supply if needed.
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r--openbsd-compat/bsd-misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index bf5fad18..3cb912d2 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -137,4 +137,8 @@ long long llabs(long long);
void bzero(void *, size_t);
#endif
+#ifndef HAVE_RAISE
+int raise(int);
+#endif
+
#endif /* _BSD_MISC_H */