]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
FreeBSD: Fix test for setproctitle
authorRoy Marples <roy@marples.name>
Wed, 16 Oct 2019 14:19:58 +0000 (15:19 +0100)
committerRoy Marples <roy@marples.name>
Wed, 16 Oct 2019 14:19:58 +0000 (15:19 +0100)
configure

index f17712830b6b247921ae025a58aff584c0e9f164..3a578fffb585860a5340c6c3c19297c670ff7f54 100755 (executable)
--- a/configure
+++ b/configure
@@ -805,6 +805,7 @@ if [ -z "$SETPROCTITLE" ]; then
        printf "Testing for setproctitle ... "
        cat << EOF >_setproctitle.c
 #include <stdlib.h>
+#include <unistd.h>
 int main(void) {
        setproctitle("foo");
        return 0;