Fixed headers for FreeBSD

This commit is contained in:
Alexander Sieg 2020-04-12 14:50:59 +02:00
parent 6bac1bd257
commit 6d17515646
7 changed files with 28 additions and 0 deletions

4
main.c
View file

@ -10,7 +10,11 @@
#include <unistd.h>
#include <sys/types.h>
#if __linux__
#include <sys/sysinfo.h>
#elif __FreeBSD__
#include <sys/stat.h>
#endif
#include <fcntl.h>
#include <fcft/fcft.h>