summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-18 22:05:37 +0100
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-18 22:12:38 +0100
commit6335e5c697c57d8b5854b8202de3733bcb151ca6 (patch)
treeea4934ba9eb8ddc0e8712e027b39fb32475888ac
parentd34132e62f666904158c7ec2f1eef5a9d5281c36 (diff)
downloadgnu-efi-6335e5c697c57d8b5854b8202de3733bcb151ca6.tar.gz
gnu-efi-6335e5c697c57d8b5854b8202de3733bcb151ca6.tar.xz
gnu-efi-6335e5c697c57d8b5854b8202de3733bcb151ca6.zip
efilink: fix build with gcc 4.8
intptr_t is undefined without an include on stdint.h Fixes: - http://autobuild.buildroot.org/results/a0ca37b5ed27af445344e3ac49dc87bb17512c50 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-rw-r--r--inc/efilink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/efilink.h b/inc/efilink.h
index cc5aa2d..b69a6fd 100644
--- a/inc/efilink.h
+++ b/inc/efilink.h
@@ -1,6 +1,10 @@
#ifndef _EFI_LINK_H
#define _EFI_LINK_H
+#if defined(__GNUC__)
+#include <stdint.h>
+#endif
+
/*++
Copyright (c) 1998 Intel Corporation