about summary refs log tree commit diff
path: root/debian/patches/04-if_fix.patch
blob: b5667c535a13eeb8e3b7388b0e87c0f156536ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: src/nm-device-802-3-ethernet.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/nm-device-802-3-ethernet.c,v
retrieving revision 1.3
diff -u -r1.3 nm-device-802-3-ethernet.c
--- src/nm-device-802-3-ethernet.c	3 Jan 2006 17:47:38 -0000	1.3
+++ src/nm-device-802-3-ethernet.c	4 Jan 2006 17:13:33 -0000
@@ -328,7 +328,9 @@
 /**************************************/
 /*    MII capability detection        */
 /**************************************/
+#define _LINUX_IF_H
 #include <linux/mii.h>
+#undef _LINUX_IF_H
 
 static int
 mdio_read (NMDevice8023Ethernet *self, NMSock *sk, struct ifreq *ifr, int location)