Created
February 10, 2020 15:06
-
-
Save jdenoy/1708d9dcecdb3f671c91810ba9ea1c08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- common.h | |
+++ ../common.h | |
@@ -179,10 +179,10 @@ | |
/* 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); | |
+extern int setresuid (uid_t __ruid, uid_t __euid, uid_t __suid); | |
#endif | |
#if defined (HAVE_DECL_HTONLL) && !defined (HAVE_DECL_HTOBE64) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment