diff options
-rw-r--r-- | src/sysdeps/trygetpeereid.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sysdeps/trygetpeereid.c b/src/sysdeps/trygetpeereid.c index 87b5017..038448c 100644 --- a/src/sysdeps/trygetpeereid.c +++ b/src/sysdeps/trygetpeereid.c @@ -18,9 +18,17 @@ #ifndef _INCOMPLETE_XOPEN_C063 #define _INCOMPLETE_XOPEN_C063 #endif +#ifndef _ALL_SOURCE +#define _ALL_SOURCE +#endif + +#ifdef _AIX +#define __cplusplus /* don't ask */ +#endif #include <sys/types.h> #include <unistd.h> +#include <sys/socket.h> int main (void) { |