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.
This commit is contained in:
Dan Winship
2014-08-02 10:50:25 -04:00
parent ea456aaa81
commit 357efd26e4
63 changed files with 9 additions and 81 deletions

View File

@@ -24,7 +24,6 @@
#include <glib.h>
#include <stdio.h>
#include <net/ethernet.h>
#include "nm-connection.h"
#include "nm-platform.h"