diff --git a/restorecond/restore.c b/restorecond/restore.c index cf04e962..f6e30001 100644 --- a/restorecond/restore.c +++ b/restorecond/restore.c @@ -1,11 +1,14 @@ -/* - * Note that the restorecond(8) service build links with these functions. - * Therefore any changes here should also be tested against that utility. - */ - #include "restore.h" #include +#ifndef GLOB_TILDE +#define GLOB_TILDE 0 +#endif + +#ifndef GLOB_BRACE +#define GLOB_BRACE 0 +#endif + char **exclude_list; int exclude_count; diff --git a/restorecond/watch.c b/restorecond/watch.c index 691df824..98ff797b 100644 --- a/restorecond/watch.c +++ b/restorecond/watch.c @@ -20,6 +20,14 @@ #include "stringslist.h" #include "utmpwatcher.h" +#ifndef GLOB_TILDE +#define GLOB_TILDE 0 +#endif + +#ifndef GLOB_BRACE +#define GLOB_BRACE 0 +#endif + /* size of the event structure, not counting name */ #define EVENT_SIZE (sizeof (struct inotify_event)) /* reasonable guess as to size of 1024 events */