Skip to content

Commit

Permalink
Use system includes for open and write when ENABLE_LOGGING is on (Chi…
Browse files Browse the repository at this point in the history
  • Loading branch information
aqk authored Apr 24, 2021
1 parent ce4a7f6 commit baf4042
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/disk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ struct Disk {
};

#if ENABLE_LOGGING
// logging is currently unix / bsd only: use <fstream> or update
// calls to ::open and ::write to port to windows
#include <fcntl.h>
#include <unistd.h>
#include <mutex>
#include <unordered_map>
#include <cinttypes>
Expand Down

0 comments on commit baf4042

Please sign in to comment.