Merge pull request #144 from rongjiecomputer/winsock2

Only MSVC does not have sys/time.h
This commit is contained in:
Xiaoyi Zhang 2018-07-13 14:13:24 -04:00 committed by GitHub
commit a5030ca512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@
#ifndef ABSL_TIME_TIME_H_
#define ABSL_TIME_TIME_H_
#if !defined(_WIN32)
#if !defined(_MSC_VER)
#include <sys/time.h>
#else
#include <winsock2.h>