CVS 8/2 compile error

Getting errors on NetworkManagerDevice.c, because I don't appear to have a "pci/types.h". No idea where the heck this would be (on a Debian system), but then worked out that we only needed a few types from it and so wrote a patch.

Index: src/NetworkManagerDevice.c
RCS file: /cvs/gnome/NetworkManager/src/NetworkManagerDevice.c,v
retrieving revision 1.91
diff -u -r1.91 NetworkManagerDevice.c
--- src/NetworkManagerDevice.c  7 Feb 2005 23:04:05 -0000       1.91
+++ src/NetworkManagerDevice.c  8 Feb 2005 12:32:11 -0000
@@ -3600,7 +3600,10 @@
 /*    Ethtool capability detection    */
-#include <pci/types.h>
+typedef unsigned long long u64;
+typedef unsigned int u32;
+typedef unsigned short u16;
+typedef unsigned char u8;
 #include <linux/sockios.h>
 #include <linux/ethtool.h>

This fixes it for me.

palfrey tevp net -
Illegitimus non carborundum

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]