From: Eric Engestrom Date: Thu, 8 Aug 2019 09:44:54 +0000 (+0100) Subject: util/anon_file: add missing #include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60af7f5a81f822b869b3ebe98e892e6b0aeede0f;p=mesa.git util/anon_file: add missing #include Fixes: c0376a123418df0050dc ("util: add anon_file.h for all memfd/temp file usage") Signed-off-by: Eric Engestrom Tested-by: Eric Anholt Tested-by: Andreas Baierl --- diff --git a/src/util/anon_file.c b/src/util/anon_file.c index 184b8445bad..c05ed94fdfe 100644 --- a/src/util/anon_file.c +++ b/src/util/anon_file.c @@ -39,6 +39,9 @@ #elif defined(HAVE_MEMFD_CREATE) #include #include +#else +#include +#include #endif #if !(defined(__FreeBSD__) || defined(HAVE_MEMFD_CREATE) || defined(HAVE_MKOSTEMP))