aboutsummaryrefslogtreecommitdiff
path: root/malloc.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 /malloc.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 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 8738373..bd0ac0f 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1,4 +1,4 @@
-#include <inttypes.h>
+#include <stdint.h>
#include "string.h"
#include "bios.h"