summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch')
-rw-r--r--meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch b/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch
new file mode 100644
index 0000000000..b17ec9c959
--- /dev/null
+++ b/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch
@@ -0,0 +1,29 @@
1From 8331fc4759d809512f404e7a27f817ad6d616450 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 13 Apr 2015 18:00:33 -0700
4Subject: [PATCH] zeroconf: Include fcntl.h
5
6We need it for getting deinitions for O_* e.g. O_CREAT
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/zeroconf.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/zeroconf.c b/src/zeroconf.c
16index 414ddc4..31bd33f 100644
17--- a/src/zeroconf.c
18+++ b/src/zeroconf.c
19@@ -33,6 +33,7 @@
20 #include <unistd.h>
21 #include <stdlib.h>
22 #include <limits.h>
23+#include <fcntl.h>
24
25 #include <avahi-common/domain.h>
26 #include <avahi-common/error.h>
27--
282.1.4
29