change BSD ifndefs to __OpenBSD__ and remove unnecessary ifdefs

I'm not sure if any operating system other than OpenBSD
has strlcpy/strlcat. May need to use a configure script
for this later on.
This commit is contained in:
Jeremy Baxter 2023-12-23 16:33:38 +13:00
parent 03b3631fa9
commit cae9985747
5 changed files with 8 additions and 10 deletions

View file

@ -1,6 +1,6 @@
/***
* Processes, signals, and
* signal handlers.
* Processes, signals, and signal handlers.
*
* @module process
*/
@ -9,7 +9,7 @@
#include <signal.h>
#include <string.h>
#include <errno.h>
#ifdef BSD
#ifdef __OpenBSD__
# include <string.h>
#endif