summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/include/sys/socket.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h
index ae2f238..3b11d20 100644
--- a/libc/include/sys/socket.h
+++ b/libc/include/sys/socket.h
@@ -40,6 +40,13 @@
#include <linux/types.h>
#include <linux/compiler.h>
+/* This is an Android extension that won't be in the uapi headers for the common kernel. */
+#if !defined(SIOCKILLADDR)
+#define SIOCKILLADDR 0x8939
+#else
+#error SIOCKILLADDR defined twice
+#endif
+
__BEGIN_DECLS
#define sockaddr_storage __kernel_sockaddr_storage