summaryrefslogtreecommitdiff
path: root/sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2008-09-03 15:01:19 +0000
committerLars Engels <lme@FreeBSD.org>2008-09-03 15:01:19 +0000
commit05916d799f62a14ab8d6de9b75ad8e4079f10a9c (patch)
treec622673a3b999ce98ab2f33138c001d0794739f5 /sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp
parentUpdate to 1.11 (diff)
Unbreak on CURRENT
PR: ports/126489 Submitted by: "Dima Panov" <fluffy (AT) fluffy.khv.ru> Approved by: Peter Hofer <ph (AT) desktopbsd.net> (maintainer)
Diffstat (limited to 'sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp')
-rw-r--r--sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp b/sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp
new file mode 100644
index 000000000000..7b295ab5b001
--- /dev/null
+++ b/sysutils/desktopbsd-tools/files/patch-libdesktopbsd-netinterface.cpp
@@ -0,0 +1,12 @@
+--- libdesktopbsd/netinterface.cpp.orig 2007-07-29 09:36:00.000000000 +1100
++++ libdesktopbsd/netinterface.cpp 2008-07-04 17:00:31.000000000 +1100
+@@ -22,6 +22,9 @@
+ #include <ifaddrs.h>
+ #include <net/route.h>
+ #include <net/if.h>
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 800038
++#include <net80211/_ieee80211.h>
++#endif
+ #include <net80211/ieee80211.h>
+ #include <net80211/ieee80211_crypto.h>
+ #include <net80211/ieee80211_ioctl.h>