modifications for OpenBSD 5.3
Merge pull request #18 from BastienDurel/master

OpenBSD 5.3