Skip to content

Commit 579b985

Browse files
committed
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
1 parent 1c2cb27 commit 579b985

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/include/storage/pmsignal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#ifndef PMSIGNAL_H
1515
#define PMSIGNAL_H
1616

17+
#include <signal.h>
18+
1719
#ifdef HAVE_SYS_PRCTL_H
1820
#include "sys/prctl.h"
1921
#endif

0 commit comments

Comments
 (0)