Skip to content

Commit

Permalink
fix simple_writer: windows.h needs to be included before fileapi.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Aug 20, 2024
1 parent 064743c commit 130e195
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ulog_cpp/simple_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
#include "simple_writer.hpp"

#ifdef _WIN32
// clang-format off
#include <windows.h>
#include <fileapi.h>
#include <windows.h> // NOLINT
// clang-format on
#else
#include <unistd.h>
#endif
Expand Down

0 comments on commit 130e195

Please sign in to comment.