Commit b70e4f0529c089b00d0a6da13106db4de1ada4c7

Authored by Wu Zhangjin
Committed by Steven Rostedt
1 parent 5ffc88819c

tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h

The header file include/linux/tracepoint.h may be included without
include/linux/errno.h and then the compiler will fail on building for
undelcared ENOSYS. This patch fixes this problem via including <linux/errno.h>
to include/linux/tracepoint.h.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
LKML-Reference: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/tracepoint.h
... ... @@ -14,6 +14,7 @@
14 14 * See the file COPYING for more details.
15 15 */
16 16  
  17 +#include <linux/errno.h>
17 18 #include <linux/types.h>
18 19 #include <linux/rcupdate.h>
19 20