blob: 37e5a8ba1a96ab364d5c7de04c6cd612659a297d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From e10015ee546c549f1eb93388b5aa9723f510bcdc Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho@docker.com>
Date: Tue, 14 Mar 2017 20:53:52 -0700
Subject: [PATCH 1/2] policycoreutils: hack around GLOB_{BRACE,TILDE}
Signed-off-by: Tycho Andersen <tycho@docker.com>
---
setfiles/restore.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/setfiles/restore.c b/setfiles/restore.c
index 50d192a..3bc3c39 100644
--- a/setfiles/restore.c
+++ b/setfiles/restore.c
@@ -6,6 +6,14 @@
#include "restore.h"
#include <glob.h>
+#ifndef GLOB_TILDE
+#define GLOB_TILDE 0
+#endif
+
+#ifndef GLOB_BRACE
+#define GLOB_BRACE 0
+#endif
+
char **exclude_list;
int exclude_count;
--
2.11.1
|