Do not include posix header on Windows

They are included by 3dbcbe5 which need them to test permission rights on
posix only.
This commit is contained in:
Matthieu Gautier 2022-01-19 16:15:59 +01:00
parent 3198a849e2
commit e3f8046915
1 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,10 @@
#include "gtest/gtest.h"
#include <string>
#include <vector>
#ifndef _WIN32
# include <unistd.h>
# include <fcntl.h>
#endif
#include "../include/tools.h"
#include "../src/tools/pathTools.h"