From 383f4aff561b419c5070acd809e5b1b8532e1428 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 10 Feb 2005 20:59:10 +0000 Subject: [PATCH] 2005-02-10 Dan Williams Patch from Tom Parker: * src/NetworkManagerDevice.c - Remove the "#include " 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 --- ChangeLog | 7 +++++++ src/NetworkManagerDevice.c | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f7768f7dac..866a077767 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-10 Dan Williams + + Patch from Tom Parker: + * src/NetworkManagerDevice.c + - Remove the "#include " since both the ethtool.h and + mii.h headers are broken, and instead use our own typedefs + 2005-02-10 Dan Williams * dhcpcd/buildmsg.c diff --git a/src/NetworkManagerDevice.c b/src/NetworkManagerDevice.c index 860309c237..c72badf6cc 100644 --- a/src/NetworkManagerDevice.c +++ b/src/NetworkManagerDevice.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 #include #include