aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/atalk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/atalk.h')
-rw-r--r--include/linux/atalk.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/atalk.h b/include/linux/atalk.h
index 55fcfc11fdc7..31d3fc25ccbd 100644
--- a/include/linux/atalk.h
+++ b/include/linux/atalk.h
@@ -1,8 +1,6 @@
1#ifndef __LINUX_ATALK_H__ 1#ifndef __LINUX_ATALK_H__
2#define __LINUX_ATALK_H__ 2#define __LINUX_ATALK_H__
3 3
4#include <net/sock.h>
5
6/* 4/*
7 * AppleTalk networking structures 5 * AppleTalk networking structures
8 * 6 *
@@ -39,6 +37,10 @@ struct atalk_netrange {
39 __u16 nr_lastnet; 37 __u16 nr_lastnet;
40}; 38};
41 39
40#ifdef __KERNEL__
41
42#include <net/sock.h>
43
42struct atalk_route { 44struct atalk_route {
43 struct net_device *dev; 45 struct net_device *dev;
44 struct atalk_addr target; 46 struct atalk_addr target;
@@ -81,8 +83,6 @@ static inline struct atalk_sock *at_sk(struct sock *sk)
81 return (struct atalk_sock *)sk; 83 return (struct atalk_sock *)sk;
82} 84}
83 85
84#ifdef __KERNEL__
85
86#include <asm/byteorder.h> 86#include <asm/byteorder.h>
87 87
88struct ddpehdr { 88struct ddpehdr {