From: Andres Freund Date: Sat, 12 Mar 2016 20:16:48 +0000 (-0800) Subject: Include portability/mem.h into fd.c for MAP_FAILED. X-Git-Tag: REL9_6_BETA1~510 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e01157500f26342bf4f067a4eb1e45ab9a3cd410;p=postgresql Include portability/mem.h into fd.c for MAP_FAILED. Buildfarm members gaur and pademelon are old enough not to know about MAP_FAILED; which is used in 428b1d6. Include portability/mem.h to fix; as already done in a bunch of other places. --- diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 046d1b3cc3..3e02dceccd 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -76,6 +76,7 @@ #include "catalog/catalog.h" #include "catalog/pg_tablespace.h" #include "pgstat.h" +#include "portability/mem.h" #include "storage/fd.h" #include "storage/ipc.h" #include "utils/guc.h"