diff options
author | Tom Lane | 2018-11-19 22:28:04 +0000 |
---|---|---|
committer | Tom Lane | 2018-11-19 22:28:04 +0000 |
commit | cb09903fe63132a35e4b217bc394882b05c0c6f3 (patch) | |
tree | 942006adb869816a156956de4ed240911c15aa8d /src | |
parent | ffa4cbd623dd69f9fa99e5e92426928a5782cf1a (diff) |
Add needed #include.
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/copy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index b956d2a5d3e..a283fcb33ad 100644 --- 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" |