[psycopg/pqpath.c] sys/time.h include for non mac & Windows

Signed-off-by: Samuel Marks <807580+SamuelMarks@users.noreply.github.com>
This commit is contained in:
Samuel Marks 2019-08-05 15:07:43 +10:00
parent 4d10f1235f
commit a47fcdd508
No known key found for this signature in database
GPG Key ID: A66D5F029DBB680C

View File

@ -51,10 +51,10 @@
#include <winsock2.h>
/* gettimeofday() */
#include "win32_support.h"
#endif
#if defined(__sun) && defined(__SVR4)
#elif defined(__sun) && defined(__SVR4)
#include "solaris_support.h"
#else
#include <sys/time.h>
#endif
extern HIDDEN PyObject *psyco_DescriptionType;