blob: 5a3b178bee79bda0778e21cdc9945e710da9bdbb [file] [log] [blame]
From stable-bounces@linux.kernel.org Tue Feb 13 18:12:53 2007
From: David Miller <davem@davemloft.net>
Date: Tue, 13 Feb 2007 18:11:27 -0800 (PST)
Subject: Fix atmarp.h for userspace
To: stable@kernel.org
Cc: bunk@stusta.de
Message-ID: <20070213.181127.39158302.davem@davemloft.net>
From: David Miller <davem@davemloft.net>
[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/atmarp.h | 2 --
1 file changed, 2 deletions(-)
--- linux-2.6.20.1.orig/include/linux/atmarp.h
+++ linux-2.6.20.1/include/linux/atmarp.h
@@ -6,9 +6,7 @@
#ifndef _LINUX_ATMARP_H
#define _LINUX_ATMARP_H
-#ifdef __KERNEL__
#include <linux/types.h>
-#endif
#include <linux/atmapi.h>
#include <linux/atmioc.h>