From 12f6a8975aa51adc6e56addd83bd07a2cae8ea01 Mon Sep 17 00:00:00 2001 From: Consus Date: Mon, 28 Aug 2023 18:56:39 +0300 Subject: [PATCH] Unbreak match_glob Since bool is not a C89 type, include in match.h. --- include/common/match.h | 1 + src/common/match.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common/match.h b/include/common/match.h index 3c4afddc..c49f2187 100644 --- a/include/common/match.h +++ b/include/common/match.h @@ -2,6 +2,7 @@ #ifndef LABWC_MATCH_H #define LABWC_MATCH_H #include +#include /** * match_glob() - Pattern match using '*' wildcards and '?' jokers. diff --git a/src/common/match.c b/src/common/match.c index 5b9f46c0..6c573fb9 100644 --- a/src/common/match.c +++ b/src/common/match.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only #define _POSIX_C_SOURCE 200809L -#include #include "common/match.h" bool -- 2.52.0