Unbreak match_glob

Since bool is not a C89 type, include <stdbool.h> in match.h.
This commit is contained in:
Consus 2023-08-28 18:56:39 +03:00 committed by Johan Malm
parent abb7c03c75
commit 12f6a8975a
2 changed files with 1 additions and 1 deletions

View file

@ -2,6 +2,7 @@
#ifndef LABWC_MATCH_H #ifndef LABWC_MATCH_H
#define LABWC_MATCH_H #define LABWC_MATCH_H
#include <glib.h> #include <glib.h>
#include <stdbool.h>
/** /**
* match_glob() - Pattern match using '*' wildcards and '?' jokers. * match_glob() - Pattern match using '*' wildcards and '?' jokers.

View file

@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L #define _POSIX_C_SOURCE 200809L
#include <stdbool.h>
#include "common/match.h" #include "common/match.h"
bool bool