From: Roy Marples Date: Fri, 24 May 2024 12:23:37 +0000 (+0100) Subject: configure: fix the closefrom test X-Git-Tag: v10.0.8~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7f139d3be757d125dc95a3b2065f526d1cbfe95;p=thirdparty%2Fdhcpcd.git configure: fix the closefrom test Fixes #327. --- diff --git a/configure b/configure index 8bc65184..0a28a0cf 100755 --- a/configure +++ b/configure @@ -816,7 +816,8 @@ if [ -z "$CLOSEFROM" ]; then cat <_closefrom.c #include int main(void) { - return closefrom(3); + closefrom(3); + return 0; } EOF if $XCC _closefrom.c -o _closefrom 2>&3; then