trivial: netlink header cleanup
authorDan Williams <dcbw@redhat.com>
Tue, 20 Apr 2010 23:55:13 +0000 (16:55 -0700)
committerDan Williams <dcbw@redhat.com>
Tue, 20 Apr 2010 23:55:13 +0000 (16:55 -0700)
src/ip6-manager/nm-ip6-manager.c
src/nm-device-ethernet.c
src/nm-netlink.c
src/nm-netlink.h

index 04a3049..0ce694d 100644 (file)
@@ -21,6 +21,7 @@
 #include <errno.h>
 #include <netinet/icmp6.h>
 
+#include <netlink/route/addr.h>
 #include <netlink/route/rtnl.h>
 #include <netlink/route/route.h>
 
index f4581e9..00942a3 100644 (file)
@@ -34,6 +34,8 @@
 #include <linux/if.h>
 #include <errno.h>
 
+#include <netlink/route/addr.h>
+
 #include "nm-glib-compat.h"
 #include "nm-device-ethernet.h"
 #include "nm-device-interface.h"
index c55c093..15eb6c1 100644 (file)
@@ -28,6 +28,7 @@
 #include <pthread.h>
 #include <unistd.h>
 #include <netlink/object-api.h>
+#include <netlink/route/addr.h>
 
 static struct nl_cache * link_cache = NULL;
 static struct nl_handle * def_nl_handle = NULL;
index 7b5e1ba..b77cbf5 100644 (file)
 #ifndef NM_NETLINK_H
 #define NM_NETLINK_H
 
-#include <asm/types.h>
-#include <netlink/route/addr.h>
 #include <netlink/netlink.h>
-#include <netlink/utils.h>
 #include <netlink/route/link.h>
 
 int    nm_netlink_iface_to_index (const char *iface);