projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa4cbd
)
Add needed #include.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 19 Nov 2018 22:28:04 +0000
(17:28 -0500)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 19 Nov 2018 22:28:04 +0000
(17:28 -0500)
Per POSIX, WIFSIGNALED and related macros are provided by <sys/wait.h>.
Apparently on Linux they're also pulled in by some other inclusions,
but BSD-ish systems are pickier. Fixes portability issue in
ffa4cbd62
.
Per buildfarm.
src/backend/commands/copy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/copy.c
b/src/backend/commands/copy.c
index b956d2a5d3e93e99c73d497549cd708a951cc49f..a283fcb33adda8c0915ca8c35b789e816d291f94 100644
(file)
--- a/
src/backend/commands/copy.c
+++ b/
src/backend/commands/copy.c
@@
-17,6
+17,7
@@
#include <ctype.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include "access/heapam.h"
#include "access/htup_details.h"