code is now compatible with BSD's: add a missing header and more robust handling of VA functions