tree 3ed392477c70ed1858572ab3b0b1b2c5594e5775
parent cbc93b9e71f853838d8e4c7752974969ffdf3da8
author David S. Miller <[EMAIL PROTECTED]> Tue Apr 12 08:24:44 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:24:44 2005
[PATCH] Fix linux/atalk.h header
This recently got changed to include a lot of kernel internal stuff in the
non-__KERNEL__ area of the header, which isn't so kosher and breaks libc
builds.
The fix is pretty simple.
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
atalk.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: include/linux/atalk.h
===================================================================
--- 3efe584e1e31a8fe232bd5d305f2c64c9634ad91/include/linux/atalk.h
(mode:100644 sha1:8fca126151d3acec3bd776839b73267216a05593)
+++ 3ed392477c70ed1858572ab3b0b1b2c5594e5775/include/linux/atalk.h
(mode:100644 sha1:3431bcb4830cf1dbc1b42ff13ebf2b76c1d66c9e)
@@ -1,8 +1,6 @@
#ifndef __LINUX_ATALK_H__
#define __LINUX_ATALK_H__
-#include <net/sock.h>
-
/*
* AppleTalk networking structures
*
@@ -39,6 +37,10 @@
__u16 nr_lastnet;
};
+#ifdef __KERNEL__
+
+#include <net/sock.h>
+
struct atalk_route {
struct net_device *dev;
struct atalk_addr target;
@@ -81,8 +83,6 @@
return (struct atalk_sock *)sk;
}
-#ifdef __KERNEL__
-
#include <asm/byteorder.h>
struct ddpehdr {
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html