[PATCH] ipmi: allow userland to include ipmi.h
authorCorey Minyard <minyard@acm.org>
Tue, 6 Sep 2005 22:18:40 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:48 +0000 (16:57 -0700)
The IPMI driver include file needs to include compiler.h so it has definitions
for __user and such.

Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/ipmi.h

index 846b6989977681cdc7eb9f69b71f9e5ecd8937d0..dd30adedd07d8456933f50f9b35903ea48282df5 100644 (file)
@@ -35,6 +35,7 @@
 #define __LINUX_IPMI_H
 
 #include <linux/ipmi_msgdefs.h>
+#include <linux/compiler.h>
 
 /*
  * This file describes an interface to an IPMI driver.  You have to