diff --git a/Makefile b/Makefile index 4c2f006..45d3e5e 100755 --- a/Makefile +++ b/Makefile @@ -174,7 +174,11 @@ CONFIG_CUSTOMER_HUAWEI_GENERAL = n CONFIG_DRVEXT_MODULE = n +ifeq ($(CONFIG_RTL8812AU), ) export TopDIR ?= $(shell pwd) +else +export TopDIR ?= $(shell pwd)/drivers/net/wireless/rtl8812au +endif ########### COMMON ################################# ifeq ($(CONFIG_USB_HCI), y) diff --git a/include/rtw_recv.h b/include/rtw_recv.h index ca0ebc3..d6422a1 100644 --- a/include/rtw_recv.h +++ b/include/rtw_recv.h @@ -33,6 +33,8 @@ #endif #else /* PLATFORM_LINUX /PLATFORM_BSD */ +#include + #ifdef CONFIG_SINGLE_RECV_BUF #define NR_RECVBUFF (1) #else