at 13.1 and 13.2 OS versions %: cc -c superbl.c In file included from superbl.c:22: In file included from /usr/include/rpc/rpc.h:74: /usr/include/rpc/pmap_prot.h:90:8: error: redefinition of 'pmap' struct pmap { ^ /usr/include/machine/pmap.h:380:8: note: previous definition is here struct pmap { ^ 1 error generated. ##### In rpc/pmap_prot.h:90:8: the structure `pmap' is different of machine/pmap.h the structure `pmap'.... It's a bug? -- different structures with the same name are used.
Why it matter? What is the kind of program that needs both machine/pmap.h and port mapper services used in the same source?
note that line 90 here https://github.com/freebsd/freebsd-src/blob/dc103686348d3205733a2c77e7d2ccbff6691022/sys/rpc/pmap_prot.h#L90 is "struct pirtmap" not "struct pmap" so something in your software is probably redefining portmap as pmap