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, 15 Sep 2024 00:03:25 +0000 (02:03 +0200)
commitb1858ffbf30859346317096f2b130d983ca6fae9
tree4794772c9899b4893f72f8013237b9b5e5beefe6
parent912acb6c09c2059df5ed264ea0c11efb2875912a
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