]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix building support_ptrace.c on i686-gnu.
authorStefan Liebler <stli@linux.ibm.com>
Thu, 19 Sep 2019 10:26:18 +0000 (12:26 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Thu, 19 Sep 2019 10:26:18 +0000 (12:26 +0200)
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.

ChangeLog
support/support_ptrace.c

index 3e95dd17bc242813001ec3f0790963c2e6332888..29b8b79bfc1c46516956dbf72ea493a53097e8c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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.
index 616b08cff33022ef0c1c8127226ce1c469a23841..a733adf2c8dfd0734df49be82e1237b0ffa7b752 100644 (file)
@@ -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)