浏览代码

[ATM]: atmarp.h needs to always include linux/types.h

To provide the __be* types, even for userspace includes.

Reported by Andrew Walrond.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 年之前
父节点
当前提交
42c05f6e6e
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      include/linux/atmarp.h

+ 0 - 2
include/linux/atmarp.h

@@ -6,9 +6,7 @@
 #ifndef _LINUX_ATMARP_H
 #ifndef _LINUX_ATMARP_H
 #define _LINUX_ATMARP_H
 #define _LINUX_ATMARP_H
 
 
-#ifdef __KERNEL__
 #include <linux/types.h>
 #include <linux/types.h>
-#endif
 #include <linux/atmapi.h>
 #include <linux/atmapi.h>
 #include <linux/atmioc.h>
 #include <linux/atmioc.h>