summaryrefslogtreecommitdiff
path: root/src/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps')
-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)
{