projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1dd62
)
LoongArch: Fix a build error with GCC 14 (#825)
author
Xi Ruoyao
<xry111@xry111.site>
Thu, 15 Feb 2024 12:49:27 +0000
(20:49 +0800)
committer
GitHub
<noreply@github.com>
Thu, 15 Feb 2024 12:49:27 +0000
(07:49 -0500)
Fix the build error with GCC 14:
../src/loongarch64/ffi.c: In function 'ffi_prep_closure_loc':
../src/loongarch64/ffi.c:525:7: error: implicit declaration of
function 'ffi_tramp_set_parms' [-Wimplicit-function-declaration]
src/loongarch64/ffi.c
patch
|
blob
|
history
diff --git
a/src/loongarch64/ffi.c
b/src/loongarch64/ffi.c
index 140be3bc3dc49d9b795e555e68f9b86e98f9692a..b5ac18ea97e2f485506b85435aa64fa0045f5b68 100644
(file)
--- a/
src/loongarch64/ffi.c
+++ b/
src/loongarch64/ffi.c
@@
-28,6
+28,7
@@
#include <ffi.h>
#include <ffi_common.h>
+#include <tramp.h>
#include <stdlib.h>
#include <stdint.h>