summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-13 13:38:31 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-13 13:38:31 +0000
commiteee4ed6ad0798124c9865829f7faa425d2622579 (patch)
treedaa45554f9559c77c1768a5e82781d8695b42fa2
parent0496c0eefab052309893102fc2181921cca3665c (diff)
downloadskalibs-eee4ed6ad0798124c9865829f7faa425d2622579.tar.xz
hahaha no
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/sysdeps/trygetpeereid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sysdeps/trygetpeereid.c b/src/sysdeps/trygetpeereid.c
index 038448c..bbec97c 100644
--- 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)
{