summaryrefslogtreecommitdiffstats
path: root/libflashrom.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@dell.com>2019-08-29 14:19:21 -0500
committerDavid Hendricks <david.hendricks@gmail.com>2019-09-24 01:15:48 +0000
commit40f0757750f246bd78981fb7c02aadf1d47b18e8 (patch)
tree81f42762d82c932b7024a1a403090ab1781a7ebe /libflashrom.h
parent4362e629762857fefecd54fc970cdfbf5f9d6741 (diff)
downloadflashrom-40f0757750f246bd78981fb7c02aadf1d47b18e8.tar.gz
flashrom-40f0757750f246bd78981fb7c02aadf1d47b18e8.tar.bz2
flashrom-40f0757750f246bd78981fb7c02aadf1d47b18e8.zip
libflashrom.h: Add types not included in all projects
Add <stdbool.h> and <stdint.h> to allow compilation in fwupd. Signed-off-by: Mario Limonciello <mario.limonciello@dell.com> Change-Id: Ib48ddc6412f82677f43e445346dc64ccfadf2423 Reviewed-on: https://review.coreboot.org/c/flashrom/+/35155 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
Diffstat (limited to 'libflashrom.h')
-rw-r--r--libflashrom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libflashrom.h b/libflashrom.h
index a0da6dfe7..d0d582616 100644
--- a/libflashrom.h
+++ b/libflashrom.h
@@ -20,6 +20,8 @@
#include <sys/types.h>
#include <stddef.h>
+#include <stdbool.h>
+#include <stdint.h>
#include <stdarg.h>
int flashrom_init(int perform_selfcheck);