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:
Thomas Munro 2018-08-02 11:25:31 +12:00
parent 1c2cb2744b
commit 579b985b22

View File

@ -14,6 +14,8 @@
#ifndef PMSIGNAL_H
#define PMSIGNAL_H
#include <signal.h>
#ifdef HAVE_SYS_PRCTL_H
#include "sys/prctl.h"
#endif