From a47fcdd5083bb04eff6b4de5b58b4a3127ae1bdf Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Mon, 5 Aug 2019 15:07:43 +1000 Subject: [PATCH] [psycopg/pqpath.c] sys/time.h include for non mac & Windows Signed-off-by: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> --- psycopg/pqpath.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c index b21f3977..ed47a408 100644 --- a/psycopg/pqpath.c +++ b/psycopg/pqpath.c @@ -51,10 +51,10 @@ #include /* gettimeofday() */ #include "win32_support.h" -#endif - -#if defined(__sun) && defined(__SVR4) +#elif defined(__sun) && defined(__SVR4) #include "solaris_support.h" +#else +#include #endif extern HIDDEN PyObject *psyco_DescriptionType;