commit eee4ed6ad0798124c9865829f7faa425d2622579
parent 0496c0eefab052309893102fc2181921cca3665c
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Wed, 13 Dec 2023 13:38:31 +0000
hahaha no
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/sysdeps/trygetpeereid.c b/src/sysdeps/trygetpeereid.c
@@ -23,12 +23,11 @@
#endif
#ifdef _AIX
-#define __cplusplus /* don't ask */
+extern int getpeereid (int, uid_t *, gid_t *) ;
#endif
#include <sys/types.h>
#include <unistd.h>
-#include <sys/socket.h>
int main (void)
{