summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Prindeville2024-07-15 14:54:22 +0000
committerHauke Mehrtens2024-07-28 17:39:34 +0000
commit0bd129a5d3b298340e1f6351942a8ccc2ba6eaea (patch)
tree75bac22674403455856ff942abce1742cf7c328e
parent308630aea6da1b5618d169d6ebf208aaa249ef72 (diff)
downloadopenwrt-0bd129a5d3b298340e1f6351942a8ccc2ba6eaea.tar.gz
build: autoconf: set ac_cv_func_setresuid=true
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>
-rw-r--r--include/site/linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/site/linux b/include/site/linux
index b193d25c45..63fc3aa6b1 100644
--- a/include/site/linux
+++ b/include/site/linux
@@ -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