mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Fix include of httplib.h
on windows.
On windows, `httplib.h` must be included before `windows.h` We do not include directly `windows.h` in the test but it is included indirectly by other headers. Let's include httplib first.
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
|
||||
#include "./httplib.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "../include/manager.h"
|
||||
#include "../include/server.h"
|
||||
#include "../include/name_mapper.h"
|
||||
|
||||
#include "./httplib.h"
|
||||
|
||||
using TestContextImpl = std::vector<std::pair<std::string, std::string> >;
|
||||
struct TestContext : TestContextImpl {
|
||||
|
Reference in New Issue
Block a user