Commit 383f4aff authored by Dan Williams's avatar Dan Williams
Browse files

2005-02-10 Dan Williams <dcbw@redhat.com>

	Patch from Tom Parker:
	* src/NetworkManagerDevice.c
		- Remove the "#include <pci/types.h>" since both the ethtool.h and
			mii.h headers are broken, and instead use our own typedefs


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@430 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 633cd472
2005-02-10 Dan Williams <dcbw@redhat.com>
Patch from Tom Parker:
* src/NetworkManagerDevice.c
- Remove the "#include <pci/types.h>" since both the ethtool.h and
mii.h headers are broken, and instead use our own typedefs
2005-02-10 Dan Williams <dcbw@redhat.com>
* dhcpcd/buildmsg.c
......
......@@ -3608,10 +3608,15 @@ void nm_device_config_set_ip4_broadcast (NMDevice *dev, guint32 broadcast)
}
/* Define types for stupid headers */
typedef u_int8_t u8;
typedef u_int16_t u16;
typedef u_int32_t u32;
/**************************************/
/* Ethtool capability detection */
/**************************************/
#include <pci/types.h>
#include <linux/sockios.h>
#include <linux/ethtool.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment