Skip to content

Commit 49527a3

Browse files
committed
Fix missing gettimeofday() declaration.
This avoids a warning under MinGW versions having gettimeofday(), per buildfarm member walleye.
1 parent 1103033 commit 49527a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq/fe-trace.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
#include <ctype.h>
1818
#include <limits.h>
19+
#include <sys/time.h>
1920
#include <time.h>
2021

2122
#ifdef WIN32
2223
#include "win32.h"
2324
#else
2425
#include <unistd.h>
25-
#include <sys/time.h>
2626
#endif
2727

2828
#include "libpq-fe.h"

0 commit comments

Comments
 (0)