mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1103858 - Enable FreeBSD wifi scanner on DragonFly. r=ted, r=jdm
This commit is contained in:
parent
404a3d0bf1
commit
ca760fcf9a
@ -8313,7 +8313,7 @@ case "$OS_TARGET" in
|
||||
NECKO_WIFI=1
|
||||
fi
|
||||
;;
|
||||
Darwin|FreeBSD|SunOS|WINNT)
|
||||
Darwin|DragonFly|FreeBSD|SunOS|WINNT)
|
||||
NECKO_WIFI=1
|
||||
;;
|
||||
Linux)
|
||||
|
@ -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',
|
||||
]
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user