From: Consus Date: Mon, 28 Aug 2023 15:56:39 +0000 (+0300) Subject: Unbreak match_glob X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=12f6a8975aa51adc6e56addd83bd07a2cae8ea01;p=proto%2Flabwc.git Unbreak match_glob Since bool is not a C89 type, include in match.h. --- 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