Fix include in otherTools.h

This commit is contained in:
Matthieu Gautier
2019-08-08 14:26:21 +02:00
parent e013d38cc6
commit cbe8e20118
4 changed files with 19 additions and 9 deletions

View File

@ -20,18 +20,16 @@
#ifndef KIWIX_OTHERTOOLS_H
#define KIWIX_OTHERTOOLS_H
#ifdef _WIN32
#include <windows.h>
#else
#include <unistd.h>
#endif
#include <string>
#include <pugixml.hpp>
namespace pugi {
class xml_node;
}
namespace kiwix
{
void sleep(unsigned int milliseconds);
std::string nodeToString(pugi::xml_node node);
std::string nodeToString(const pugi::xml_node& node);
std::string converta2toa3(const std::string& a2code);
}