diff options
Diffstat (limited to 'include/linux/if_tun.h')
-rw-r--r-- | include/linux/if_tun.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h index 33e489d5bb33..72f1c5f47be3 100644 --- a/include/linux/if_tun.h +++ b/include/linux/if_tun.h | |||
@@ -21,6 +21,8 @@ | |||
21 | /* Uncomment to enable debugging */ | 21 | /* Uncomment to enable debugging */ |
22 | /* #define TUN_DEBUG 1 */ | 22 | /* #define TUN_DEBUG 1 */ |
23 | 23 | ||
24 | #include <linux/types.h> | ||
25 | |||
24 | #ifdef __KERNEL__ | 26 | #ifdef __KERNEL__ |
25 | 27 | ||
26 | #ifdef TUN_DEBUG | 28 | #ifdef TUN_DEBUG |
@@ -88,7 +90,7 @@ struct tun_struct { | |||
88 | 90 | ||
89 | struct tun_pi { | 91 | struct tun_pi { |
90 | unsigned short flags; | 92 | unsigned short flags; |
91 | unsigned short proto; | 93 | __be16 proto; |
92 | }; | 94 | }; |
93 | #define TUN_PKT_STRIP 0x0001 | 95 | #define TUN_PKT_STRIP 0x0001 |
94 | 96 | ||