diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:16:15 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:16:15 +0000 |
commit | 64a1be29a5d22a92b1830144fedfdf8884a2b20d (patch) | |
tree | 27f8b13b5d4fb5359c31c7c1ff60a9563cd8361d /0004-efilink-fix-build-with-gcc-4.8.patch | |
parent | 453c495bceb89952108be7452da3d072d3336eab (diff) |
automatic import of gnu-efiopeneuler24.03_LTS
Diffstat (limited to '0004-efilink-fix-build-with-gcc-4.8.patch')
-rw-r--r-- | 0004-efilink-fix-build-with-gcc-4.8.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/0004-efilink-fix-build-with-gcc-4.8.patch b/0004-efilink-fix-build-with-gcc-4.8.patch new file mode 100644 index 0000000..a3ccbaf --- /dev/null +++ b/0004-efilink-fix-build-with-gcc-4.8.patch @@ -0,0 +1,30 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine <fontaine.fabrice@gmail.com> +Date: Fri, 18 Jan 2019 22:05:37 +0100 +Subject: [PATCH] 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> +--- + inc/efilink.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/inc/efilink.h b/inc/efilink.h +index cc5aa2dc57b..b69a6fd5cf5 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 |