Fatal error: linux/limits.h: No such file or directory for any AUR build

After the last upgrade I cannot build any AUR package due to

fatal error: linux/limits.h: No such file or directory

and similar errors that looks like missing kernel headers. However headers are installed:

uname -a                                                                                                                                                                        
Linux pure 6.12.63-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu, 18 Dec 2025 13:46:28 +0000 x86_64 GNU/Linux

pacman -Q linux612-headers                                                                                                                                                                    
linux612-headers 6.12.63-1


pacman -S linux-api-headers

Has fixed the issue. It has been installed but somehow installed files has disappeared.

Thanks Grok

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.