aboutsummaryrefslogtreecommitdiff
path: root/pci.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-12-18 11:02:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-18 11:03:26 +0100
commit96842c5a646fe1f70a352e14bf380743100876ee (patch)
tree42331654fedcbd96430f0800aa0a31fa4cb4ee75 /pci.c
parent50144236fc8da1a8da00b67abbc4f395656d5119 (diff)
downloadqboot-96842c5a646fe1f70a352e14bf380743100876ee.zip
qboot-96842c5a646fe1f70a352e14bf380743100876ee.tar.gz
qboot-96842c5a646fe1f70a352e14bf380743100876ee.tar.bz2
limit C headers to freestanding ones
inttypes.h is not part of the subset of standard headers for freestanding environments. Replace it with stdint.h. Also include string.h with quotes, since we provide it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index 65c9e81..63ebda6 100644
--- a/pci.c
+++ b/pci.c
@@ -1,7 +1,7 @@
#include "bios.h"
#include "ioport.h"
#include "pci.h"
-#include <string.h>
+#include "string.h"
static uint16_t addend;
static uint8_t bus, bridge_head;