Don't include <linux/...> header files directly.
These change from kernel release to release, and no longer contain some of
the stuff you need.
Change-Id: I3fc7176cf2246aebfc0aa2a833dfa04ea8d931fc
diff --git a/ResolverController.cpp b/ResolverController.cpp
index 680be20..23554e8 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 58914df..79e0592 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 eef94fe..398a8e5 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"