From 1bb08712dbc9e062bb439a65dcebeb4221ded699 Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Sun, 28 Jan 2024 18:16:57 +0300 Subject: [PATCH] rizin-shell-parser: Fix build with newest tree-sitter --- subprojects/rizin-shell-parser/src/parser.c | 2 +- subprojects/rizin-shell-parser/src/scanner.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/rizin-shell-parser/src/parser.c b/subprojects/rizin-shell-parser/src/parser.c index 21e270b58fa..3f83e0bf0b8 100644 --- a/subprojects/rizin-shell-parser/src/parser.c +++ b/subprojects/rizin-shell-parser/src/parser.c @@ -1,4 +1,4 @@ -#include +#include "tree_sitter/parser.h" #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push diff --git a/subprojects/rizin-shell-parser/src/scanner.c b/subprojects/rizin-shell-parser/src/scanner.c index 133c5850da9..9c17e4a0c13 100644 --- a/subprojects/rizin-shell-parser/src/scanner.c +++ b/subprojects/rizin-shell-parser/src/scanner.c @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only -#include +#include "tree_sitter/parser.h" #include #include #include