We have BIT_WORD(). It's the same. Backports commit ab089e058eb443a9a11ade4d3fc57ced1947bfa3 from qemu
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Backports commit aafd758410015e08b1aa8964d739ba8587ce58dc from qemu