build: autoconf: set ac_cv_func_setresuid=true
authorPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 15 Jul 2024 14:54:22 +0000 (08:54 -0600)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Jul 2024 17:39:34 +0000 (19:39 +0200)
MUSL and eglibc provide these symbols.

Bind needs setresuid() to build properly in recent versions.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Link: https://github.com/openwrt/openwrt/pull/15952
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/site/linux

index b193d25c45bf1ea19e0bace42df3a6669edaaf98..63fc3aa6b1e9b1954451161076dd4838e6622b3c 100644 (file)
@@ -37,7 +37,7 @@ ac_cv_func_rindex=yes
 ac_cv_func_setlocale=yes
 ac_cv_func_setgrent_void=yes
 ac_cv_func_setpgrp_void=yes
-ac_cv_func_setresuid=no
+ac_cv_func_setresuid=yes
 ac_cv_func_setvbuf_reversed=no
 ac_cv_func_stat_empty_string_bug=no
 ac_cv_func_stat_ignores_trailing_slash=no