]> granicus.if.org Git - strace/commitdiff
2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
authorRoland McGrath <roland@redhat.com>
Wed, 1 Jun 2005 18:56:56 +0000 (18:56 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 1 Jun 2005 18:56:56 +0000 (18:56 +0000)
* bjm.c [LINUX]: Do not include <linux/linkage.h>.  It is not
safe to include kernel headers, and this one is not used anyway.
Fixes RH#158488.

bjm.c

diff --git a/bjm.c b/bjm.c
index 301ac40c07334a4ee4278f4b76faba9d893b6ea0..3a6be0673f8d34f5fbd8666371d1ba1a1bada778 100644 (file)
--- a/bjm.c
+++ b/bjm.c
@@ -42,7 +42,6 @@
 #include <sys/user.h>
 #include <sys/syscall.h>
 #include <signal.h>
-#include <linux/linkage.h>
 
 /* Bits of module.flags.  */