summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-10-16 15:19:58 +0100
committerRoy Marples <roy@marples.name>2019-10-16 15:19:58 +0100
commiteefefdc54a02ccb1f029085da7e45bfaf38315de (patch)
tree680fa837f7199b49f16000e6291b69ca3984fb1d /configure
parent0f8f4506858ed4d3e029054ce74f7fc3be7112b3 (diff)
downloaddhcpcd-eefefdc54a02ccb1f029085da7e45bfaf38315de.tar.xz
FreeBSD: Fix test for setproctitle
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index f1771283..3a578fff 100755
--- 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;