bug4578: add some headers for idb compile