diff --git a/src/scanner.c b/src/scanner.c index 6753ba0..d5dc16d 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -7,6 +7,7 @@ * (See accompanying file LICENSE.txt or https://opensource.org/licenses/MIT) * SPDX-License-Identifier: MIT */ +#define _XOPEN_SOURCE #include "tree_sitter/parser.h" #include #include