]> granicus.if.org Git - strace/commitdiff
prctl: include <linux/prctl.h> instead of <sys/prctl.h>
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 20 Nov 2016 02:00:35 +0000 (02:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 20 Nov 2016 02:00:35 +0000 (02:00 +0000)
There are no users of prctl function in prctl.c, and all the rest
is provided by <linux/prctl.h> anyway.

* prctl.c: Include <linux/prctl.h> instead of <sys/prctl.h>.

prctl.c

diff --git a/prctl.c b/prctl.c
index 66d74fa7869a61f2c8554711ffeccc07774b5085..c1c4529f96bd351a84618b7491bbf46d97a23d05 100644 (file)
--- a/prctl.c
+++ b/prctl.c
@@ -30,7 +30,7 @@
 
 #include "defs.h"
 
-#include <sys/prctl.h>
+#include <linux/prctl.h>
 
 #include "xlat/prctl_options.h"
 #include "xlat/pr_cap_ambient.h"