summaryrefslogtreecommitdiff
path: root/util/amdfwtool/data_parse.c
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2020-12-30 00:01:59 +0100
committerIdwer Vollering <vidwer@gmail.com>2020-12-31 16:06:58 +0000
commit93df1d9cfaef526bf5a8f18cb619623d9bd82293 (patch)
tree0840565d85d71bd1d897eb76dde510309993ec86 /util/amdfwtool/data_parse.c
parent2c626f332b938caabb38f85db5cafb2f502b5a52 (diff)
util/amdfwtool: portability fixes for FreeBSD
Add the stdint.h header, and drop the GLIBC section from amdfwtool.h to build this tool on FreeBSD as well as Linux. Signed-off-by: Idwer Vollering <vidwer@gmail.com> Change-Id: I295fd308b0f5e2902931f02c9455823a614976de Reviewed-on: https://review.coreboot.org/c/coreboot/+/48977 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/amdfwtool/data_parse.c')
-rw-r--r--util/amdfwtool/data_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/amdfwtool/data_parse.c b/util/amdfwtool/data_parse.c
index 017c689f13..b6e14a8f9a 100644
--- a/util/amdfwtool/data_parse.c
+++ b/util/amdfwtool/data_parse.c
@@ -2,6 +2,7 @@
#include <regex.h>
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
#include "amdfwtool.h"