diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-21 13:32:34 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-21 13:32:34 -0400 |
commit | faa8b6f1bb40d74943baa19df2e8694e9cb9cb12 (patch) | |
tree | 1a90f01064e7af555811e9b6347fe41695e5e61c | |
parent | 7913f9df87c16b8a4f0b78530ba4f1249ada772d (diff) | |
download | seabios-faa8b6f1bb40d74943baa19df2e8694e9cb9cb12.tar.gz |
Guard header file pci.h
Compilation on Ubuntu fails without this.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
-rw-r--r-- | src/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +#ifndef __PCI_H +#define __PCI_H + #include "types.h" // u32 typedef struct PCIDevice { @@ -11,3 +14,5 @@ void pci_config_writeb(PCIDevice *d, u32 addr, u8 val); u32 pci_config_readl(PCIDevice *d, u32 addr); u16 pci_config_readw(PCIDevice *d, u32 addr); u8 pci_config_readb(PCIDevice *d, u32 addr); + +#endif |