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

Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e
This commit is contained in:
Elliott Hughes 2014-07-11 21:10:15 -07:00
parent 57a5b3380a
commit 2ba2888cac

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