mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 03:50:49 +08:00
12 lines
488 B
Diff
12 lines
488 B
Diff
--- a/common.h
|
|
+++ b/common.h
|
|
@@ -179,7 +179,7 @@ struct ip6_ext {
|
|
|
|
/* following lines are copy from unistd.h in Linux for avoidance warnings in compilation */
|
|
#if defined(HAVE_SETRESGID) && !defined(_GNU_SOURCE)
|
|
-extern int setresgid (__uid_t __ruid, __uid_t __euid, __uid_t __suid);
|
|
+extern int setresgid (uid_t __ruid, uid_t __euid, uid_t __suid);
|
|
#endif
|
|
#if defined(HAVE_SETRESUID) && !defined(_GNU_SOURCE)
|
|
extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid);
|