diff options
| author | Tomas Vondra | 2016-03-01 03:11:38 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2016-10-18 10:00:50 +0000 |
| commit | e474afdd5cd7af005f3cbc2f77305644c7d1947d (patch) | |
| tree | 27f831979313dd40e944dfea43108aff8e2e504a /src/include/tcop | |
| parent | b2034c89d15d20307038222ad737e777a1bd6bf2 (diff) | |
add missing declarations of timeval/rusage structs
Diffstat (limited to 'src/include/tcop')
| -rw-r--r-- | src/include/tcop/tcopprot.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sys/time.h> +#include <sys/resource.h> /* Required daylight between max_stack_depth and the kernel limit, in bytes */ #define STACK_DEPTH_SLOP (512 * 1024L) |
