F7 compile and link ok. The compiler and linker is run from the very target openSUSE.
If I manually copy errno.h and fcntl.h from openSUSE to the local corresponding subdirectory, then click “Search the same directories again”, then VisualGDB no longer complains.
So please install an openSUSE VM and verify it yourself.