Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 580242
Collapse All | Expand All

(-)a/patches/61_all_process_data.patch (-2 / +1 lines)
Lines 51-62 Link Here
51
             PyErr_Clear();
51
             PyErr_Clear();
52
--- Modules/python.c
52
--- Modules/python.c
53
+++ Modules/python.c
53
+++ Modules/python.c
54
@@ -7,6 +7,14 @@
54
@@ -7,6 +7,13 @@
55
 #include <floatingpoint.h>
55
 #include <floatingpoint.h>
56
 #endif
56
 #endif
57
 
57
 
58
+#ifdef __linux__
58
+#ifdef __linux__
59
+#include <linux/prctl.h>
60
+#include <sys/prctl.h>
59
+#include <sys/prctl.h>
61
+#ifndef PR_SET_NAME
60
+#ifndef PR_SET_NAME
62
+#define PR_SET_NAME 15
61
+#define PR_SET_NAME 15

Return to bug 580242