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 #include +/* 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