Closed issue by yusi1 on void-packages repository https://github.com/void-linux/void-packages/issues/35569 Description: ### System * xuname: `Void 5.15.17_1 x86_64 AuthenticAMD notuptodate rrrrmmnFFFFFF` * package: `rtl8812au-dkms` ver: `20210427_1` ### Expected behavior Driver compiles successfully. ### Actual behavior `make` fails with error (logfile: `/var/lib/dkms/rtl8812au/5.9.3.2/build/make.log`): `net/ipx.h: No such file or directory` ### Steps to reproduce the behavior - Use Linux kernel 5.15 or above - Install package `rtl8812au-dkms` from repo using `xbps-install -Su rtl8812au-dkms` - DKMS fails with a fatal error that says to check the logfile which then says that there's a missing file or directory: > **DKMS module 'rtl8812au-5.9.3.2' failed to build, please check /var/lib/dkms for errors in the log file.** ### Fix After replacing the code in `/var/lib/dkms/rtl8812au/5.9.3.2/core/rtw_br_ext.c` with the code in the comment linked below, the driver compiles successfully. ### Related: - https://github.com/aircrack-ng/rtl8188eus/issues/156#issuecomment-1021639265 **Commit that removed these files:** - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/net?id=6c9b40844751ea30c72f7a2f92f4d704bc6b2927