immortalwrt/package/kernel/rtl8189es/patches/001-use-kernel-byteorder.patch
AmadeusGhost 124116564e
rtl8189es: add new package
(cherry picked from commit b8d43ba477)
2022-01-23 11:54:58 +08:00

16 lines
440 B
Diff

Fix compile problem when rtw_byteorder.h and asm/byteorder.h gets
included in addition for example indirectly, do not use realtek own copy
of the byteorder headers.
--- a/include/drv_types.h
+++ b/include/drv_types.h
@@ -29,7 +29,7 @@
#include <drv_conf.h>
#include <basic_types.h>
#include <osdep_service.h>
-#include <rtw_byteorder.h>
+#include <asm/byteorder.h>
#include <wlan_bssdef.h>
#include <wifi.h>
#include <ieee80211.h>