]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Unbreak match_glob
authorConsus <consus@ftml.net>
Mon, 28 Aug 2023 15:56:39 +0000 (18:56 +0300)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 1 Oct 2023 13:17:29 +0000 (14:17 +0100)
Since bool is not a C89 type, include <stdbool.h> in match.h.

include/common/match.h
src/common/match.c

index 3c4afddc87bc468b1cfd9deaaa4ab85c0356392b..c49f2187d219aa0937deb7117123b1136bb73273 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef LABWC_MATCH_H
 #define LABWC_MATCH_H
 #include <glib.h>
+#include <stdbool.h>
 
 /**
  * match_glob() - Pattern match using '*' wildcards and '?' jokers.
index 5b9f46c06584bbd39d7c34dd799658cbed654624..6c573fb957d24e6648e25b92f56dbf0cc789f5c4 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
 #define _POSIX_C_SOURCE 200809L
-#include <stdbool.h>
 #include "common/match.h"
 
 bool