]> granicus.if.org Git - postgresql/commitdiff
Include portability/mem.h into fd.c for MAP_FAILED.
authorAndres Freund <andres@anarazel.de>
Sat, 12 Mar 2016 20:16:48 +0000 (12:16 -0800)
committerAndres Freund <andres@anarazel.de>
Sat, 12 Mar 2016 20:16:48 +0000 (12:16 -0800)
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

index 046d1b3cc309bc1b3b15a25dd9279e0c6d662f75..3e02dceccd3d937de577aeededb58ad79f88036d 100644 (file)
@@ -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"