]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/win32con/gettimeofday.c
ncurses 6.2 - patch 20200229
[ncurses.git] / ncurses / win32con / gettimeofday.c
index 8fad9a625416d3122037b174fc82b29194cba3c5..aae54c685a84bdc29673f5022e5dbdce5c054b83 100644 (file)
 
 #include <windows.h>
 
-MODULE_ID("$Id: gettimeofday.c,v 1.4 2020/02/02 23:34:34 tom Exp $")
+MODULE_ID("$Id: gettimeofday.c,v 1.5 2020/02/29 15:46:00 anonymous.maarten Exp $")
 
 #define JAN1970 116444736000000000LL   /* the value for 01/01/1970 00:00 */
 
+#ifdef _MSC_VER
+#include <winsock2.h>
+#endif
+
 int
 gettimeofday(struct timeval *tv, void *tz GCC_UNUSED)
 {