summaryrefslogtreecommitdiff
path: root/pciutils.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-02-09 12:32:50 +0000
committerMartin Mares <mj@ucw.cz>2006-05-05 14:09:48 +0200
commitfb38eee88d9cf4abd3dcb14edabb87dc8d6b09f4 (patch)
tree7a4d781156e6063e9145625f70f7695349c1d5a5 /pciutils.h
parent268323242d51c2dee40e27a43d792cde22dd3672 (diff)
downloadpciutils-fb38eee88d9cf4abd3dcb14edabb87dc8d6b09f4.tar.gz
- Include pci.h in full distribution and use it instead of <linux/pci.h>
when available. This should work-around all problems with Linus not synchronized with our PCI development. - Fixed few cosmetic bugs (version in man pages etc.) - Released as version 1.01.
Diffstat (limited to 'pciutils.h')
-rw-r--r--pciutils.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/pciutils.h b/pciutils.h
index 2bfc63b..ddbf67b 100644
--- a/pciutils.h
+++ b/pciutils.h
@@ -1,5 +1,5 @@
/*
- * $Id: pciutils.h,v 1.2 1998/01/27 11:50:13 mj Exp $
+ * $Id: pciutils.h,v 1.3 1998/02/09 12:32:56 mj Exp $
*
* Linux PCI Utilities -- Declarations
*
@@ -10,6 +10,12 @@
#include <linux/types.h>
+#ifdef KERNEL_PCI_H
+#include <linux/pci.h>
+#else
+#include "pci.h"
+#endif
+
#define PROC_BUS_PCI "/proc/bus/pci"
#define ETC_PCI_IDS "/etc/pci.ids"