diff --git a/ResolverController.cpp b/ResolverController.cpp index 680be208b0e73a7a5d25ae1e74805045398b8c00..23554e80f24649aaab21f1088120fb7c325462e7 100644 --- a/ResolverController.cpp +++ b/ResolverController.cpp @@ -19,7 +19,7 @@ #include <cutils/log.h> -#include <linux/if.h> +#include <net/if.h> // NOTE: <resolv_iface.h> is a private C library header that provides // declarations for _resolv_set_default_iface() and others. diff --git a/SecondaryTableController.h b/SecondaryTableController.h index 58914df5b33de6f820f12b72d6286d225aae4adf..79e0592523522f41a6126c4286426dac2767b1ed 100644 --- a/SecondaryTableController.h +++ b/SecondaryTableController.h @@ -19,7 +19,7 @@ #include <sysutils/FrameworkListener.h> -#include <linux/if.h> +#include <net/if.h> #ifndef IFNAMSIZ #define IFNAMSIZ 16 diff --git a/TetherController.h b/TetherController.h index eef94fe9b8fceb0f68e76fce82a083f9a288ccfb..398a8e5885c957d6ce8bf68575c4301e9b699118 100644 --- a/TetherController.h +++ b/TetherController.h @@ -17,7 +17,7 @@ #ifndef _TETHER_CONTROLLER_H #define _TETHER_CONTROLLER_H -#include <linux/in.h> +#include <netinet/in.h> #include "List.h"