[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1246490906-16024-1-git-send-email-tobias.doerffel@gmail.com>
Date: Thu, 2 Jul 2009 01:28:26 +0200
From: Tobias Doerffel <tobias.doerffel@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Tobias Doerffel <tobias.doerffel@...il.com>
Subject: [PATCH] Include linux/errno.h in linux/sysrq.h
In include/linux/sysrq.h the constant EINVAL is being used but is undefined
if include/linux/errno.h is not included before.
Fix this by adding #include <linux/errno.h> at the beginning.
Signed-off-by: Tobias Doerffel <tobias.doerffel@...il.com>
---
include/linux/sysrq.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h
index 98a1d8c..99adcdc 100644
--- a/include/linux/sysrq.h
+++ b/include/linux/sysrq.h
@@ -14,6 +14,8 @@
#ifndef _LINUX_SYSRQ_H
#define _LINUX_SYSRQ_H
+#include <linux/errno.h>
+
struct pt_regs;
struct tty_struct;
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists