Due to some build system mixups the system MIT build of Samba and the system Heimdal build still used source4/heimdal in some include paths.
This bug was referenced in samba master: 209a33670fab5dd7373444ae1ce76dbb5dfa0058 98cb41cb35dfacbd5c6acfb13a0ac555b474da08
This bug was referenced in samba master: dc2222eee8f62ace1b7a67401d502d2b3c4a1e17