freebsd: misc cleanups to get freebsd compiling

This commit is contained in:
Antonio SJ Musumeci 2020-07-29 09:52:21 -04:00
parent 6f76080c6b
commit a93bd9f7fa
7 changed files with 27 additions and 7 deletions

View file

@ -16,6 +16,8 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "errno.hpp"
#if defined __linux__
#include <unistd.h>
#include <sys/syscall.h>