2020-01-28 19:24:49 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2019-08-26 15:49:44 +00:00
|
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
|
|
Date: Fri, 18 Jan 2019 22:05:37 +0100
|
2020-01-28 19:24:49 +00:00
|
|
|
Subject: [PATCH] efilink: fix build with gcc 4.8
|
2019-08-26 15:49:44 +00:00
|
|
|
|
|
|
|
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
|