From: Tomas Vondra Date: Tue, 1 Mar 2016 03:11:38 +0000 (+0100) Subject: add missing declarations of timeval/rusage structs X-Git-Tag: XL9_5_R1BETA2~28 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=71e78f8f965102cc7842c3c9aceaede2915af516;p=postgres-xl.git add missing declarations of timeval/rusage structs --- 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)