From e474afdd5cd7af005f3cbc2f77305644c7d1947d Mon Sep 17 00:00:00 2001 From: Tomas Vondra Date: Tue, 1 Mar 2016 04:11:38 +0100 Subject: add missing declarations of timeval/rusage structs --- src/include/tcop/tcopprot.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index de4591f110..3a6812adeb 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -25,6 +25,9 @@ #include "storage/procsignal.h" #include "utils/guc.h" +/* needed because of 'struct timeval' and 'struct rusage' */ +#include +#include /* Required daylight between max_stack_depth and the kernel limit, in bytes */ #define STACK_DEPTH_SLOP (512 * 1024L) -- cgit v1.2.3