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)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 19 Sep 2024 15:30:23 +0000 (11:30 -0400)
commit76803708bca64b9fb907c55a662aed8a4c761d11
tree2b90199219693bbab19f26b367976e16a977fcc8
parent8e40b8a6c8b7cef78bb2c5703e2b9b2b973d6027
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
(cherry picked from commit 0bd129a5d3b298340e1f6351942a8ccc2ba6eaea)
Link: https://github.com/openwrt/openwrt/pull/16390
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/site/linux