Forward-declare pledge() and unveil() on OpenBSD
These are declared in unistd.h, but since _POSIX_SOURCE is defined they are not visible. Conditionally duplicating the declarations here seems less likely to bite me in the ass later on than making a bunch of other BSD-specific things visible.
This commit is contained in:
parent
1491d79b98
commit
e7dc81cfad
Loading…
x
Reference in New Issue
Block a user