Do not compile the if_nameindex struct for android

This commit is contained in:
Charles J. Schneider 2016-06-17 10:03:30 +02:00
parent 73dacf775f
commit d02c2b6f1b

View File

@ -110,6 +110,7 @@ s! {
pub ws_ypixel: ::c_ushort,
}
#[cfg(not(target_os = "android"))]
pub struct if_nameindex {
pub if_index: ::c_uint,
pub if_name: *mut ::c_char,