projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f86011
)
add missing declarations of timeval/rusage structs
author
Tomas Vondra
<
[email protected]
>
Tue, 1 Mar 2016 03:11:38 +0000
(
04:11
+0100)
committer
Pavan Deolasee
<
[email protected]
>
Fri, 11 Mar 2016 06:27:01 +0000
(11:57 +0530)
src/include/tcop/tcopprot.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/tcop/tcopprot.h
b/src/include/tcop/tcopprot.h
index de4591f110e799d4274931e2ac84ef4bd78c7674..3a6812adebc890eb914e5dc26c15b57f43503e0b 100644
(file)
--- 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)