diff options
author | Idwer Vollering <vidwer@gmail.com> | 2019-12-16 15:33:12 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-01-20 14:43:31 +0000 |
commit | a682fc81aeb8d25bb696a2774988f343a9b15131 (patch) | |
tree | f49f6116e6ad1873c873909bf9982db980bb9ccd /util/amdfwtool | |
parent | 724753d47293ad457e6a81da568617d036ace1de (diff) | |
download | coreboot-a682fc81aeb8d25bb696a2774988f343a9b15131.tar.xz |
util/amdfwtool: guard typedef aliases
Build tested on Ubuntu 18 LTS, FreeBSD.
Change-Id: Ida2c1f36aba7469d69dbb12ee6afce4a181bd6b7
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37766
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/amdfwtool')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 39cc45f080..d5c63dec34 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -110,10 +110,12 @@ */ #define PSP_COMBO 0 +#if defined(__GLIBC__) typedef unsigned long long int uint64_t; typedef unsigned int uint32_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; +#endif /* * Creates the OSI Fletcher checksum. See 8473-1, Appendix C, section C.3. |