mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
[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:
parent
4d10f1235f
commit
a47fcdd508
|
@ -51,10 +51,10 @@
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
/* gettimeofday() */
|
/* gettimeofday() */
|
||||||
#include "win32_support.h"
|
#include "win32_support.h"
|
||||||
#endif
|
#elif defined(__sun) && defined(__SVR4)
|
||||||
|
|
||||||
#if defined(__sun) && defined(__SVR4)
|
|
||||||
#include "solaris_support.h"
|
#include "solaris_support.h"
|
||||||
|
#else
|
||||||
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern HIDDEN PyObject *psyco_DescriptionType;
|
extern HIDDEN PyObject *psyco_DescriptionType;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user