aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/networkmanager/files/define_kernel_types_for_old_linux_headers.patch
blob: cc966f453d6001d2682e33d04f50a1f04ea4e6aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: trunk/src/nm-device-802-3-ethernet.c
===================================================================
--- trunk.orig/src/nm-device-802-3-ethernet.c	2008-05-07 11:06:53.000000000 -0300
+++ trunk/src/nm-device-802-3-ethernet.c	2008-09-04 15:03:11.000000000 -0300
@@ -28,6 +28,10 @@
 #include <net/ethernet.h>
 #include <stdlib.h>
 #include <linux/sockios.h>
+typedef unsigned long long u64;
+typedef unsigned int u32;
+typedef unsigned short u16;
+typedef unsigned char u8;
 #include <linux/ethtool.h>
 #include <sys/ioctl.h>
 #include <unistd.h>