mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 07:08:02 +02:00
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
This commit is contained in:
parent
633cd47285
commit
383f4aff56
2 changed files with 13 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue