Skip to content

Commit cd4acaa

Browse files
committed
Revert "MB-41209: Use specific 'Winsock2.h' header for timeval"
This reverts commit 7dd8241. Reason for revert: causes build failure in cheshire-cat CE (http://server.jenkins.couchbase.com/job/couchbase-server-windows/3183) Change-Id: I71b6242d9fff9f6143d14e9996b20325df1b2dbd Reviewed-on: http://review.couchbase.org/c/forestdb/+/135489 Tested-by: Dave Rigby <[email protected]> Reviewed-by: Dave Rigby <[email protected]>
1 parent 7dd8241 commit cd4acaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/gettimeofday_vs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define _JSAHN_GETTIMEOFDAY_VS
33

44
#include <time.h>
5-
#include <Winsock2.h> // for timeval
5+
#include <Windows.h>
66

77
#ifdef __cplusplus
88
extern "C" {

utils/time_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include <time.h>
2222
#if defined(WIN32) || defined(_WIN32)
23-
#include <Winsock2.h> // for timeval
23+
#include <Windows.h>
2424
#else
2525
#include <sys/time.h>
2626
#include <unistd.h>

0 commit comments

Comments
 (0)