b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/common.h |
| 2 | +++ b/common.h |
| 3 | @@ -179,7 +179,7 @@ struct ip6_ext { |
| 4 | |
| 5 | /* following lines are copy from unistd.h in Linux for avoidance warnings in compilation */ |
| 6 | #if defined(HAVE_SETRESGID) && !defined(_GNU_SOURCE) |
| 7 | -extern int setresgid (__uid_t __ruid, __uid_t __euid, __uid_t __suid); |
| 8 | +extern int setresgid (uid_t __ruid, uid_t __euid, uid_t __suid); |
| 9 | #endif |
| 10 | #if defined(HAVE_SETRESUID) && !defined(_GNU_SOURCE) |
| 11 | extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid); |