mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
util/anon_file: add missing #include
Fixes:c0376a1234("util: add anon_file.h for all memfd/temp file usage") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Tested-by: Eric Anholt <eric@anholt.net> Tested-by: Andreas Baierl <ichgeh@imkreisrum.de> (cherry picked from commit60af7f5a81)
This commit is contained in:
parent
bb22ac12d6
commit
b13396622c
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@
|
|||
#elif defined(HAVE_MEMFD_CREATE)
|
||||
#include <sys/syscall.h>
|
||||
#include <linux/memfd.h>
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#if !(defined(__FreeBSD__) || defined(HAVE_MEMFD_CREATE) || defined(HAVE_MKOSTEMP))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue