aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey/files/patch-bug1103858
blob: 71ce13eb116eac941657c59203d3712cb201f0f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff --git configure.in configure.in
index b2b45e7..dcfdfb7 100644
--- mozilla/configure.in
+++ mozilla/configure.in
@@ -8346,7 +8346,7 @@ case "$OS_TARGET" in
       NECKO_WIFI=1
     fi
     ;;
-  Darwin|FreeBSD|SunOS|WINNT)
+  Darwin|DragonFly|FreeBSD|SunOS|WINNT)
     NECKO_WIFI=1
     ;;
   Linux)
diff --git netwerk/wifi/moz.build netwerk/wifi/moz.build
index d4de063..3949380 100644
--- mozilla/netwerk/wifi/moz.build
+++ mozilla/netwerk/wifi/moz.build
@@ -35,7 +35,7 @@ if CONFIG['OS_ARCH'] == 'Darwin':
     UNIFIED_SOURCES += [
         'osx_corewlan.mm',
     ]
-elif CONFIG['OS_ARCH'] == 'FreeBSD':
+elif CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD'):
     UNIFIED_SOURCES += [
         'nsWifiScannerFreeBSD.cpp',
     ]
diff --git netwerk/wifi/nsWifiScannerFreeBSD.cpp netwerk/wifi/nsWifiScannerFreeBSD.cpp
index bdf171e..4185d69 100644
--- mozilla/netwerk/wifi/nsWifiScannerFreeBSD.cpp
+++ mozilla/netwerk/wifi/nsWifiScannerFreeBSD.cpp
@@ -13,7 +13,11 @@
 #include <sys/socket.h>
 #include <net/if.h>
 #include <net/if_media.h>
+#ifdef __DragonFly__
+#include <netproto/802_11/ieee80211_ioctl.h>
+#else
 #include <net80211/ieee80211_ioctl.h>
+#endif
 
 #include <ifaddrs.h>
 #include <string.h>