OSDN Git Service

Add include needed for new getrusage() call.
authorBruce Momjian <bruce@momjian.us>
Sun, 8 Oct 2006 17:45:50 +0000 (17:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 8 Oct 2006 17:45:50 +0000 (17:45 +0000)
src/backend/tcop/postgres.c

index 369b40d..599bb8a 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.514 2006/10/08 17:15:34 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.515 2006/10/08 17:45:50 momjian Exp $
  *
  * NOTES
  *       this is the "main" module of the postgres backend and
@@ -27,6 +27,7 @@
 #include <sys/select.h>
 #endif
 #ifdef HAVE_SYS_RESOURCE_H
+#include <sys/time.h>
 #include <sys/resource.h>
 #endif
 #ifdef HAVE_GETOPT_H