Add patches for support Haiku (https://www.haiku-os.org)
Merge pull request #1819 from diger/haiku

Add patches for support Haiku (https://www.haiku-os.org)