From ceb4111af317ecc54d97bb21878dcccbfdb2983e Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Fri, 25 Dec 2020 11:41:43 +0900 Subject: [PATCH] don't fail if GLOB_BRACE is not defined Signed-off-by: Zang Ruochen --- src/util.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/src/util.c +++ b/src/util.c @@ -24,6 +24,12 @@ #include "util.h" #include "netplan.h" +/* Don't fail if the standard library + * doesn't provide brace expansion */ +#ifndef GLOB_BRACE +#define GLOB_BRACE 0 +#endif + GHashTable* wifi_frequency_24; GHashTable* wifi_frequency_5;