pathspec: use C guards in header