blob: a4b01c1ccda1582f1e147c3d6d4a38ada1d0e6b4 (
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
33
34
|
From 204149d9b46ccec3a354ad4cfcc230c1fab93982 Mon Sep 17 00:00:00 2001
From: "Hongzhi.Song" <hongzhi.song@windriver.com>
Date: Tue, 12 Mar 2019 22:04:12 -0700
Subject: [PATCH] dependence on correct header file path
To avoid the below building error, use the correct header file path.
xlators/features/glupy/src/glupy.c:13:20: fatal error: Python.h:
No such file or directory
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
[Hongzhi:adjust the patch for v5.4]
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
---
xlators/features/glupy/src/glupy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c
index d1a111e..58cdaf9 100644
--- a/xlators/features/glupy/src/glupy.c
+++ b/xlators/features/glupy/src/glupy.c
@@ -11,7 +11,7 @@
#include <ctype.h>
#include <dlfcn.h>
#include <sys/uio.h>
-#include <Python.h>
+#include <python2.7/Python.h>
#include "glusterfs.h"
#include "xlator.h"
--
2.17.1
|