summaryrefslogtreecommitdiff
path: root/libnm/nm-device-team.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-02 10:50:25 -0400
committerDan Winship <danw@gnome.org>2014-08-07 14:04:14 -0400
commit357efd26e4da4d6dacf2f0c58b41c136b098a253 (patch)
treee3760979a02e838fb1027b603613a683bce554f5 /libnm/nm-device-team.c
parentea456aaa81f2290618421d28a824b85e02002fdf (diff)
downloadNetworkManager-357efd26e4da4d6dacf2f0c58b41c136b098a253.tar.gz
libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h
Include <linux/if_ether.h> and <linux/if_infiniband.h> from nm-utils.h, to get ETH_ALEN and INFINIBAND_ALEN, and remove those includes (as well as <net/ethernet.h> and <netinet/ether.h>, and various headers that had been included to get the ARPHRD_* constants) from other files where they're not needed now.
Diffstat (limited to 'libnm/nm-device-team.c')
-rw-r--r--libnm/nm-device-team.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm/nm-device-team.c b/libnm/nm-device-team.c
index 760117e104..1ce91ba41b 100644
--- a/libnm/nm-device-team.c
+++ b/libnm/nm-device-team.c
@@ -20,7 +20,6 @@
#include <config.h>
#include <string.h>
-#include <netinet/ether.h>
#include "nm-glib-compat.h"