Work around the macros major() and minor() being exposed by sys/types.h. Approved by: portmgr (build fix blanket) PR: 274647