commit 0496c0eefab052309893102fc2181921cca3665c
parent 586aa12ed52686de86adeceb670a88142530afb8
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Wed, 13 Dec 2023 13:32:09 +0000
maybe maybe maybe
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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)
{