mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 12:25:38 +02:00
memfd: linux/memfd does not exist on FreeBSD
memfd_create is defined in sys/mman.h on FreeBSD
This commit is contained in:
parent
bfff39b7c9
commit
82c92185ea
1 changed files with 2 additions and 0 deletions
|
@ -9,7 +9,9 @@
|
|||
#include <pthread.h>
|
||||
|
||||
#include <sys/mman.h>
|
||||
#ifdef __linux__
|
||||
#include <linux/memfd.h>
|
||||
#endif
|
||||
#include <linux/input-event-codes.h>
|
||||
|
||||
#include <pixman.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue