Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/phil-wifi]: src/sys/net80211 Add a FreeBSD ifdef



details:   https://anonhg.NetBSD.org/src/rev/c70cc2710664
branches:  phil-wifi
changeset: 461237:c70cc2710664
user:      phil <phil%NetBSD.org@localhost>
date:      Tue Nov 19 19:17:48 2019 +0000

description:
Add a FreeBSD ifdef

diffstat:

 sys/net80211/ieee80211_ratectl.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r ea85ed23697a -r c70cc2710664 sys/net80211/ieee80211_ratectl.c
--- a/sys/net80211/ieee80211_ratectl.c  Tue Nov 19 19:17:16 2019 +0000
+++ b/sys/net80211/ieee80211_ratectl.c  Tue Nov 19 19:17:48 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_ratectl.c,v 1.1.2.4 2019/06/10 22:09:46 christos Exp $ */
+/*     $NetBSD: ieee80211_ratectl.c,v 1.1.2.5 2019/11/19 19:17:48 phil Exp $ */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -29,12 +29,14 @@
 
 #include <sys/cdefs.h>
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_ratectl.c,v 1.1.2.4 2019/06/10 22:09:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_ratectl.c,v 1.1.2.5 2019/11/19 19:17:48 phil Exp $");
 #endif
 
 #ifdef _KERNEL_OPT
+#ifdef __FreeBSD__
 #include "opt-wlan.h"
 #endif
+#endif
 
 #include <sys/param.h>
 #include <sys/kernel.h>



Home | Main Index | Thread Index | Old Index