Add FreeBSD compatibility

This commit is contained in:
Greg V 2017-10-10 01:23:43 +03:00
parent c39bfe7f84
commit a5fe9aa736
17 changed files with 283 additions and 13 deletions

View file

@ -29,7 +29,9 @@
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#ifdef __linux__
#include <sys/epoll.h>
#endif
#include <string.h>
#include <stdlib.h>