summaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch')
-rw-r--r--recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch b/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
new file mode 100644
index 0000000..ff885f1
--- /dev/null
+++ b/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
@@ -0,0 +1,32 @@
1From f5bb2a133292b37cd45e3c393e4d43364fe9a11a Mon Sep 17 00:00:00 2001
2From: Xulin Sun <xulin.sun@windriver.com>
3Date: Tue, 22 Mar 2016 16:05:32 +0800
4Subject: [PATCH] dependence on correct header file path
5
6To avoid the below building error, use the correct header file path.
7xlators/features/glupy/src/glupy.c:13:20: fatal error: Python.h:
8No such file or directory
9
10Upstream-Status: Inappropriate [embedded specific]
11
12Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
13---
14 xlators/features/glupy/src/glupy.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c
18index 7bb88c0..648b966 100644
19--- a/xlators/features/glupy/src/glupy.c
20+++ b/xlators/features/glupy/src/glupy.c
21@@ -10,7 +10,7 @@
22
23 #include <ctype.h>
24 #include <sys/uio.h>
25-#include <Python.h>
26+#include <python2.7/Python.h>
27
28 #ifndef _CONFIG_H
29 #define _CONFIG_H
30--
311.9.1
32