From e3f804691532c70a1b2f137abf87d65cdf3bab73 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 19 Jan 2022 16:15:59 +0100 Subject: [PATCH] Do not include posix header on Windows They are included by 3dbcbe5 which need them to test permission rights on posix only. --- test/pathTools.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/pathTools.cpp b/test/pathTools.cpp index 1f8e1e2b6..64cffbe40 100644 --- a/test/pathTools.cpp +++ b/test/pathTools.cpp @@ -20,8 +20,10 @@ #include "gtest/gtest.h" #include #include -#include -#include +#ifndef _WIN32 +# include +# include +#endif #include "../include/tools.h" #include "../src/tools/pathTools.h"