Commit b1339662 authored by Eric Engestrom's avatar Eric Engestrom Committed by Juan Suárez Romero

util/anon_file: add missing #include

Fixes: c0376a12 ("util: add anon_file.h for all memfd/temp file usage")
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Tested-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
Tested-by: Andreas Baierl's avatarAndreas Baierl <ichgeh@imkreisrum.de>
(cherry picked from commit 60af7f5a)
parent bb22ac12
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment