David Hendricks submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Jacob Garber: Looks good to me, approved
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>
---
M libflashrom.h
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/libflashrom.h b/libflashrom.h
index a0da6df..d0d5826 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);

To view, visit change 35155. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib48ddc6412f82677f43e445346dc64ccfadf2423
Gerrit-Change-Number: 35155
Gerrit-PatchSet: 4
Gerrit-Owner: Mario Limonciello <superm1@gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Jacob Garber <jgarber1@ualberta.ca>
Gerrit-Reviewer: Mario Limonciello <superm1@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged