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 commit 60af7f5a81)
This commit is contained in:
Eric Engestrom 2019-08-08 10:44:54 +01:00 committed by Juan A. Suarez Romero
parent bb22ac12d6
commit b13396622c

View file

@ -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))