Skip to content

Commit 88fa4d2

Browse files
committed
Fix Windows build regression (do not include sys/time.h)
1 parent 5a87137 commit 88fa4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/include/cpprest/asyncrt_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
#include "cpprest/details/basic_types.h"
2424

2525
#if !defined(_WIN32) || (_MSC_VER >= 1700)
26-
#include <sys/time.h>
2726
#include <chrono>
2827
#endif
2928

3029
#ifndef _WIN32
30+
#include <sys/time.h>
3131
#include <boost/algorithm/string.hpp>
3232
#if !defined(ANDROID) && !defined(__ANDROID__) && defined(HAVE_XLOCALE_H) // CodePlex 269
3333
/* Systems using glibc: xlocale.h has been removed from glibc 2.26

0 commit comments

Comments
 (0)