From e01157500f26342bf4f067a4eb1e45ab9a3cd410 Mon Sep 17 00:00:00 2001
From: Andres Freund <andres@anarazel.de>
Date: Sat, 12 Mar 2016 12:16:48 -0800
Subject: [PATCH] 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.
---
 src/backend/storage/file/fd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 046d1b3cc30..3e02dceccd3 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"
-- 
GitLab