Skip to content

Commit 61222da

Browse files
committed
Fix windows build (include fcntl.h)
1 parent 03b25dd commit 61222da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/stream/stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
#include <thread>
1616
#include <vector>
1717
#include <fstream>
18+
#include <fcntl.h>
1819

1920
#ifdef _WIN32
2021
#include <windows.h>
2122
#include <io.h>
2223
#else
23-
#include <fcntl.h>
2424
#include <unistd.h>
2525
#endif
2626

0 commit comments

Comments
 (0)