Define SIOCKILLADDR which isn't in the common kernel uapi headers.

(cherry picked from commit 2ba2888cac2f04daff7bbaf032d0df7a095b00c3)

Change-Id: I3845871bb44dae94d9a0428af0f562ddfb8bd660
This commit is contained in:
Elliott Hughes 2014-07-11 21:10:15 -07:00 committed by Christopher Ferris
parent bae7c20672
commit f6968e3c08

View File

@ -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