mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
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
This commit is contained in:
parent
1c2cb2744b
commit
579b985b22
@ -14,6 +14,8 @@
|
||||
#ifndef PMSIGNAL_H
|
||||
#define PMSIGNAL_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_SYS_PRCTL_H
|
||||
#include "sys/prctl.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user