diff options
author | Elliott Hughes <enh@google.com> | 2014-07-11 21:10:15 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-07-11 21:11:21 -0700 |
commit | 2ba2888cac2f04daff7bbaf032d0df7a095b00c3 (patch) | |
tree | d34ec98c0c25c770e8f81cafa8732ec661851e08 | |
parent | 57a5b3380a8834ecb4a32d01433a3127454443d7 (diff) | |
download | bionic-2ba2888cac2f04daff7bbaf032d0df7a095b00c3.tar.gz |
Define SIOCKILLADDR which isn't in the common kernel uapi headers.
Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e
-rw-r--r-- | libc/include/sys/socket.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h index ae2f2381e..3b11d202d 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 |