From 403553d69746c0e2e23d7554800b0ba71761c3e9 Mon Sep 17 00:00:00 2001 From: Han Gao Date: Wed, 10 May 2023 02:25:53 +0800 Subject: [PATCH] fix: ftbfs Signed-off-by: Han Gao --- scripts/dtc/dtc-lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l index fd825ebb..f57c9a7e 100644 --- a/scripts/dtc/dtc-lexer.l +++ b/scripts/dtc/dtc-lexer.l @@ -38,7 +38,7 @@ LINECOMMENT "//".*\n #include "srcpos.h" #include "dtc-parser.tab.h" -YYLTYPE yylloc; +extern YYLTYPE yylloc; extern bool treesource_error; /* CAUTION: this will stop working if we ever use yyless() or yyunput() */