Compatibility fixes for DragonFly BSD
3 files changed