When I try to compile an rtl8723au wifi driver for my laptop but I keep on getting the following error:
./include/linux/kernel.h:6:10: fatal error: stdarg.h: No such file or directory
My current solution is to add directory to compiler includes path like this:
But it is very bad solution, because I have to change compiler version (
8.1.0 in above example) after each time when compiler updates. What is proper solution to this problem?