Fix includes for Windows
This commit is contained in:
parent
f5040d2d5a
commit
93ed589bf4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user