diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-11-19 17:28:05 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-11-19 17:28:05 -0500 |
commit | 0064d0e9f44fadb9b8cbf9908356f7e22bb17d34 (patch) | |
tree | f49ee568017c8b06211e0f3b5b73098c28bdae7c | |
parent | 8285fae0706f7ab148257e9b5bcfa1f636fa3685 (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.
-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 c26fb658c66..1a7d4f99ee8 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 <netinet/in.h> #include <arpa/inet.h> |