commit | 60e7d49557a4a330285f9bcd76f0dfae9c1855ae | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 12 21:56:01 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 12 21:56:01 2013 +0000 |
tree | a74d9bdaeabc58d889dc3a2cc170f5419da38b3b | |
parent | 59644a6c7182db6caf53dc61f448f2c68ff569be [diff] | |
parent | 2d640c2640b957f704d86fcaea6e5a4af54dde2c [diff] |
Merge "Fix libnetutils to build with clean uapi headers."
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, ...);