diff options
author | Noah Misch <noah@leadboat.com> | 2021-06-01 18:04:14 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2021-06-01 18:04:14 -0700 |
commit | 49527a32ca97761d78efef732a4ac76a2fc086b2 (patch) | |
tree | df83a8a352780c23bd69cedfdf8313cd53ae8b75 /src | |
parent | 1103033aedc10295eb689a4b7158f21ef4c14a11 (diff) | |
download | postgresql-49527a32ca97761d78efef732a4ac76a2fc086b2.tar.gz postgresql-49527a32ca97761d78efef732a4ac76a2fc086b2.zip |
Fix missing gettimeofday() declaration.
This avoids a warning under MinGW versions having gettimeofday(), per
buildfarm member walleye.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/fe-trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-trace.c b/src/interfaces/libpq/fe-trace.c index ed4247be673..76a6d1ebe2d 100644 --- a/src/interfaces/libpq/fe-trace.c +++ b/src/interfaces/libpq/fe-trace.c @@ -16,13 +16,13 @@ #include <ctype.h> #include <limits.h> +#include <sys/time.h> #include <time.h> #ifdef WIN32 #include "win32.h" #else #include <unistd.h> -#include <sys/time.h> #endif #include "libpq-fe.h" |