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

2
shm.c
View file

@ -10,8 +10,10 @@
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/time.h>
#if __linux__
#include <linux/mman.h>
#include <linux/memfd.h>
#endif
#include <fcntl.h>
#include <pixman.h>