projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570be1f
)
Include portability/mem.h into fd.c for MAP_FAILED.
author
Andres Freund
<andres@anarazel.de>
Sat, 12 Mar 2016 20:16:48 +0000
(12:16 -0800)
committer
Andres 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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/file/fd.c
b/src/backend/storage/file/fd.c
index 046d1b3cc309bc1b3b15a25dd9279e0c6d662f75..3e02dceccd3d937de577aeededb58ad79f88036d 100644
(file)
--- 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"