]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add needed #include.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Nov 2018 22:28:05 +0000 (17:28 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Nov 2018 22:28:05 +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

index c26fb658c66c5b0798c16db2bfde5b530978cb36..1a7d4f99ee86a87e3921e1b94b302b5203bceb9f 100644 (file)
@@ -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>