(retroarch-zip) BSD compatibility patch from random user. Maister - check this