diff options
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 3e8f74b72..af58f3bd2 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -290,3 +290,11 @@ bzero(void *b, size_t n) | |||
290 | (void)memset(b, 0, n); | 290 | (void)memset(b, 0, n); |
291 | } | 291 | } |
292 | #endif | 292 | #endif |
293 | |||
294 | #ifndef HAVE_RAISE | ||
295 | int | ||
296 | raise(int sig) | ||
297 | { | ||
298 | kill(getpid(), sig); | ||
299 | } | ||
300 | #endif | ||