From 130e1957eddde922e9174ff1b865539a72d6df51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 20 Aug 2024 08:01:07 +0200 Subject: [PATCH] fix simple_writer: windows.h needs to be included before fileapi.h --- ulog_cpp/simple_writer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ulog_cpp/simple_writer.cpp b/ulog_cpp/simple_writer.cpp index 9c91fa4..c38ee08 100644 --- a/ulog_cpp/simple_writer.cpp +++ b/ulog_cpp/simple_writer.cpp @@ -6,8 +6,10 @@ #include "simple_writer.hpp" #ifdef _WIN32 +// clang-format off +#include #include -#include // NOLINT +// clang-format on #else #include #endif