aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-03-15 18:05:26 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-03-15 18:05:26 +0000
commit8fe910b7885a01e68265fdc7e6fae88a45746fbf (patch)
tree60e1f7e5aeefaba8124ff726ed942f83c6fad30b
parent2575da25ce4526fb66aac48d34bab56dc0d487b0 (diff)
parent872099a075293e69f8673d695362f0446008fe79 (diff)
downloadx86_64-w64-mingw32-4.8-build-tools-release.tar.gz
Snap for 11582845 from 872099a075293e69f8673d695362f0446008fe79 to build-tools-releasebuild-tools-release
Change-Id: If9d0200b68004ff2ee64f020f6cf39063aadcb28
-rw-r--r--x86_64-w64-mingw32/include/afunix.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/x86_64-w64-mingw32/include/afunix.h b/x86_64-w64-mingw32/include/afunix.h
new file mode 100644
index 00000000..8a4f05f5
--- /dev/null
+++ b/x86_64-w64-mingw32/include/afunix.h
@@ -0,0 +1,19 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER.PD within this package.
+ */
+
+#ifndef _AFUNIX_
+#define _AFUNIX_
+
+#define UNIX_PATH_MAX 108
+
+typedef struct sockaddr_un {
+ ADDRESS_FAMILY sun_family;
+ char sun_path[UNIX_PATH_MAX];
+} SOCKADDR_UN, *PSOCKADDR_UN;
+
+#define SIO_AF_UNIX_GETPEERPID _WSAIOR(IOC_VENDOR, 256)
+
+#endif /* _AFUNIX_ */