From: Xi Ruoyao Date: Thu, 15 Feb 2024 12:49:27 +0000 (+0800) Subject: LoongArch: Fix a build error with GCC 14 (#825) X-Git-Tag: upstream/3.4.7~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8ed78f1b2e65f2741455612d38477424e321850;p=platform%2Fupstream%2Flibffi.git LoongArch: Fix a build error with GCC 14 (#825) 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] --- diff --git a/src/loongarch64/ffi.c b/src/loongarch64/ffi.c index 140be3b..b5ac18e 100644 --- a/src/loongarch64/ffi.c +++ b/src/loongarch64/ffi.c @@ -28,6 +28,7 @@ #include #include +#include #include #include