summaryrefslogtreecommitdiff
path: root/patches/51-in-header.patch
blob: 6e3159abd0884060d29b4bfe8108b0064874637e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Some drivers rely on some other part of the kernel to include
in.h but on older kernels this proves to not work. Explicitly
include that file. This fixes compilation of ath6kl on 2.6.27.
This patch will be sent upstream though.

--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -16,6 +16,7 @@
  */
 
 #include <linux/ip.h>
+#include <linux/in.h>
 #include "core.h"
 #include "debug.h"
 #include "testmode.h"