]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
llumos: detect closefrom(3c)
authorRoy Marples <roy@marples.name>
Wed, 12 Feb 2025 09:53:25 +0000 (09:53 +0000)
committerRoy Marples <roy@marples.name>
Wed, 12 Feb 2025 09:53:25 +0000 (09:53 +0000)
configure

index b34227ddabf4a6eaa2e502b8f4471d831ee4eb69..a60da13798fd347d256a47fc804f5ea4fa88df08 100755 (executable)
--- a/configure
+++ b/configure
@@ -818,6 +818,7 @@ $abort && exit 1
 if [ -z "$CLOSEFROM" ]; then
        printf "Testing for closefrom ... "
        cat <<EOF >_closefrom.c
+#include <stdlib.h>
 #include <unistd.h>
 int main(void) {
        closefrom(3);