fix setproctitle detection on FreeBSD

This commit is contained in:
Omar Polo 2021-02-10 22:17:20 +00:00
parent 4ad0601d18
commit 0b040b9909
1 changed files with 7 additions and 0 deletions

View File

@ -14,7 +14,14 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/*
* FreeBSD has setproctitle in a different header than OpenBSD.
*/
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
int
main(void)