fix: missing include under OpenBSD

pull/115/head
Rafael Sadowski 2016-10-09 10:54:35 +02:00
parent 41bf5ba845
commit 32f62c0850
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@
#include <sys/types.h>
#include <fcntl.h>
#ifdef __OpenBSD__
#include <unistd.h>
#endif
#ifdef WIN32
#include <io.h>
typedef int ssize_t ;