blob: fe2ea7c1ec38af25c6072f45cbc78e009fe0b4aa [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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);