From 69972fe0deb03fe7018c56a9cfcabeff74126760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20G=C3=BCnther?= Date: Sat, 5 Dec 2009 11:16:02 +0000 Subject: [PATCH] Enabling usage of C++ structures in C only code for the wlan stack, too. This fixes the problem where building wlan drivers failed, due to not yet assembled kernel_c++_structs_sizes.h while only the wlan stack needed to be compiled. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34501 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/libs/compat/freebsd_wlan/net80211/Jamfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libs/compat/freebsd_wlan/net80211/Jamfile b/src/libs/compat/freebsd_wlan/net80211/Jamfile index 6d73588e08..b8ca8aa807 100644 --- a/src/libs/compat/freebsd_wlan/net80211/Jamfile +++ b/src/libs/compat/freebsd_wlan/net80211/Jamfile @@ -7,6 +7,10 @@ UseHeaders [ FDirName $(SUBDIR) ] : true ; UsePrivateHeaders net system ; UsePrivateKernelHeaders ; +# Enabling C++ structures in C only code +Includes [ FGristFiles kernel_c++_structs.h ] + : kernel_c++_struct_sizes.h ; + SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] -Wno-format -Wno-unused