pytime: include winsock2, so we can have a complete timeval type (#3377)
This commit is contained in:
parent
b0a9a5a6a4
commit
833860615b
|
@ -1,6 +1,7 @@
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#ifdef MS_WINDOWS
|
#ifdef MS_WINDOWS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <winsock2.h> /* struct timeval */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
|
Loading…
Reference in New Issue