summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/pytime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pytime.c b/Python/pytime.c
index 8979adc..b7d6e84 100644
--- a/Python/pytime.c
+++ b/Python/pytime.c
@@ -1,6 +1,7 @@
#include "Python.h"
#ifdef MS_WINDOWS
#include <windows.h>
+#include <winsock2.h> /* struct timeval */
#endif
#if defined(__APPLE__)