about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2019-09-19 12:26:18 +0200
committerStefan Liebler <stli@linux.ibm.com>2019-09-19 12:26:18 +0200
commit64fab3633aecc8eadc1338aa8953f8b2f37e3ebf (patch)
tree55621ea20d301acd3c05122c6428ed3ca03d4d6d
parent73d9051da47eda4c69397df6e7468087975fcf47 (diff)
downloadglibc-64fab3633aecc8eadc1338aa8953f8b2f37e3ebf.tar.gz
glibc-64fab3633aecc8eadc1338aa8953f8b2f37e3ebf.tar.xz
glibc-64fab3633aecc8eadc1338aa8953f8b2f37e3ebf.zip
Fix building support_ptrace.c on i686-gnu.
On i686-gnu the build is broken:
In file included from support_ptrace.c:22:
../include/sys/prctl.h:2:15: fatal error: sys/prctl.h: No such file or directory
 #include_next <sys/prctl.h>

This patch just removes the unused prctl.h inclusion.

ChangeLog:

	* support/support_ptrace.c: Remove inclusion of sys/prctl.h.
-rw-r--r--ChangeLog4
-rw-r--r--support/support_ptrace.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e95dd17bc..29b8b79bfc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2019-09-19  Stefan Liebler  <stli@linux.ibm.com>
 
+	* support/support_ptrace.c: Remove inclusion of sys/prctl.h.
+
+2019-09-19  Stefan Liebler  <stli@linux.ibm.com>
+
 	* sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
 	(_HP_TIMING_S390_H): Define.
 
diff --git a/support/support_ptrace.c b/support/support_ptrace.c
index 616b08cff3..a733adf2c8 100644
--- a/support/support_ptrace.c
+++ b/support/support_ptrace.c
@@ -19,7 +19,6 @@
 #include <support/check.h>
 #include <support/xstdio.h>
 #include <support/xptrace.h>
-#include <sys/prctl.h>
 
 int
 support_ptrace_scope (void)