pgsql: Add needed #include.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add needed #include.
Date: 2018-11-19 22:28:14
Message-ID: E1gOs1e-0006aD-BS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cb09903fe63132a35e4b217bc394882b05c0c6f3

Modified Files
--------------
src/backend/commands/copy.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-11-20 01:01:45 pgsql: Fix old TAP tests' method for selecting a valid PGPORT value.
Previous Message Tom Lane 2018-11-19 22:02:49 pgsql: Handle EPIPE more sanely when we close a pipe reading from a pro