glibc ipc64_perm __key compatibility.
glibc gives the `struct ipc64_perm` fields `key` and `seq` double-underscore
names. strace refers to the fields by those names, and there's no obvious
reason not to go along with this.
Bug: N/A
Test: built strace 4.15 with a hacked NDK
Change-Id: I8b2b0f75363349d99edaecda50fe897ee0fa0c65
diff --git a/libc/include/sys/ipc.h b/libc/include/sys/ipc.h
index 1a5a4a0..3d6c45f 100644
--- a/libc/include/sys/ipc.h
+++ b/libc/include/sys/ipc.h
@@ -33,6 +33,11 @@
#include <sys/types.h>
#include <linux/ipc.h>
+#if defined(__USE_GNU)
+#define __key key
+#define __seq seq
+#endif
+
#define ipc_perm ipc64_perm
__BEGIN_DECLS