diff options
author | Thomas Munro <tmunro@postgresql.org> | 2018-08-02 11:25:31 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2018-08-02 12:14:22 +1200 |
commit | 579b985b22928ef2aecacb679ac65e6a48b00113 (patch) | |
tree | 958e5ee2f5d150337377fc551d6bf59d682dcb6b | |
parent | 1c2cb2744bf3d8ad751cd5cf3b347f10f48492b3 (diff) | |
download | postgresql-579b985b22928ef2aecacb679ac65e6a48b00113.tar.gz postgresql-579b985b22928ef2aecacb679ac65e6a48b00113.zip |
Add missing header include to pmsignal.h.
pmsignal.h uses sig_atomic_t in some builds, but relied on signal.h
having been included already. We could include it conditionally
but evidently that wouldn't save anything in practice and would
add more ugly macros, so let's just include signal.h always.
Reported-by: Tom Lane
Discussion: https://postgr.es/m/4166.1533154074%40sss.pgh.pa.us
-rw-r--r-- | src/include/storage/pmsignal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/storage/pmsignal.h b/src/include/storage/pmsignal.h index 5ecc1b757c8..074734156ba 100644 --- a/src/include/storage/pmsignal.h +++ b/src/include/storage/pmsignal.h @@ -14,6 +14,8 @@ #ifndef PMSIGNAL_H #define PMSIGNAL_H +#include <signal.h> + #ifdef HAVE_SYS_PRCTL_H #include "sys/prctl.h" #endif |