mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-09 15:18:55 -04:00
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:
parent
3198a849e2
commit
e3f8046915
@ -20,8 +20,10 @@
|
|||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <unistd.h>
|
#ifndef _WIN32
|
||||||
#include <fcntl.h>
|
# include <unistd.h>
|
||||||
|
# include <fcntl.h>
|
||||||
|
#endif
|
||||||
#include "../include/tools.h"
|
#include "../include/tools.h"
|
||||||
#include "../src/tools/pathTools.h"
|
#include "../src/tools/pathTools.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user