diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-25 13:25:15 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-26 00:09:04 +1100 |
commit | b39593a6de5290650a01adf8699c6460570403c2 (patch) | |
tree | 10b3dbce092be86a4ea0e49b15805ffd4fea5d24 /openbsd-compat/bsd-misc.h | |
parent | 11057564eb6ab8fd987de50c3d7f394c6f6632b7 (diff) |
Add no-op getsid implmentation.
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 3cb912d28..af2ccdae2 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h | |||
@@ -141,4 +141,8 @@ void bzero(void *, size_t); | |||
141 | int raise(int); | 141 | int raise(int); |
142 | #endif | 142 | #endif |
143 | 143 | ||
144 | #ifndef HAVE_GETSID | ||
145 | pid_t getsid(pid_t); | ||
146 | #endif | ||
147 | |||
144 | #endif /* _BSD_MISC_H */ | 148 | #endif /* _BSD_MISC_H */ |