<machine/soundcard.h> is moved to <sys/soundcard.h> on both 4-stable and 5-current. See commitlog of src/include/Makefile rev 1.165.