diff options
author | Elliott Hughes <enh@google.com> | 2013-11-12 13:05:01 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-11-12 13:05:01 -0800 |
commit | 2d640c2640b957f704d86fcaea6e5a4af54dde2c (patch) | |
tree | de9b2a48f83915a4980522706382c3f7eefc96fa /libnetutils | |
parent | e627929490dfb92ab51ec6feb259d793a4a9f394 (diff) | |
download | system_core-2d640c2640b957f704d86fcaea6e5a4af54dde2c.zip system_core-2d640c2640b957f704d86fcaea6e5a4af54dde2c.tar.gz system_core-2d640c2640b957f704d86fcaea6e5a4af54dde2c.tar.bz2 |
Fix libnetutils to build with clean uapi headers.
(And old ones too.)
Bug: 11559337
Change-Id: Ie61218055bbe07655a9d53c539aa47b85098e42c
Diffstat (limited to 'libnetutils')
-rw-r--r-- | libnetutils/ifc_utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnetutils/ifc_utils.c b/libnetutils/ifc_utils.c index eb33d06..4d004f6 100644 --- a/libnetutils/ifc_utils.c +++ b/libnetutils/ifc_utils.c @@ -50,6 +50,11 @@ #define ALOGW printf #endif +#ifdef HAVE_ANDROID_OS +/* SIOCKILLADDR is an Android extension. */ +#define SIOCKILLADDR 0x8939 +#endif + static int ifc_ctl_sock = -1; static int ifc_ctl_sock6 = -1; void printerr(char *fmt, ...); |