diff options
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.patch | 32 |
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 @@ | |||
1 | From f5bb2a133292b37cd45e3c393e4d43364fe9a11a Mon Sep 17 00:00:00 2001 | ||
2 | From: Xulin Sun <xulin.sun@windriver.com> | ||
3 | Date: Tue, 22 Mar 2016 16:05:32 +0800 | ||
4 | Subject: [PATCH] dependence on correct header file path | ||
5 | |||
6 | To avoid the below building error, use the correct header file path. | ||
7 | xlators/features/glupy/src/glupy.c:13:20: fatal error: Python.h: | ||
8 | No such file or directory | ||
9 | |||
10 | Upstream-Status: Inappropriate [embedded specific] | ||
11 | |||
12 | Signed-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 | |||
17 | diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c | ||
18 | index 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 | -- | ||
31 | 1.9.1 | ||
32 | |||