From 62f788ce03b4a0c100abf8b13021e4005ff4a154 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 9 Sep 2022 05:06:01 +0800 Subject: [PATCH] fix warning: implicit declaration of function 'alloca' Signed-off-by: Xiang Xiao Change-Id: Ib79f7cfa9a059a90687683a77e53a3b8f74712fe --- backend/common.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/common.h b/backend/common.h index a9e28511..13228ef6 100644 --- a/backend/common.h +++ b/backend/common.h @@ -41,9 +41,7 @@ # include # define z_alloca(nmemb) _alloca(nmemb) #else -# if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199000L /* C89 */ -# include -# endif +# include # define z_alloca(nmemb) alloca(nmemb) #endif