Fix includes for Windows

This commit is contained in:
Sebastian Messmer 2018-09-03 07:43:57 -07:00
parent f5040d2d5a
commit 93ed589bf4

View File

@ -3,11 +3,15 @@
#define MESSMER_FSPP_TEST_TESTUTILS_OPENFILEHANDLE_H_
#include <fcntl.h>
#include <unistd.h>
#include <cpp-utils/macros.h>
#include <errno.h>
#include <thread>
#include <chrono>
#if defined(_MSC_VER)
#include <io.h>
#else
#include <unistd.h>
#endif
class OpenFileHandle final {
public: