pytime: include winsock2, so we can have a complete timeval type (#3377)

This commit is contained in:
Benjamin Peterson 2017-09-05 20:45:48 -07:00 committed by GitHub
parent b0a9a5a6a4
commit 833860615b
1 changed files with 1 additions and 0 deletions

View File

@ -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__)