Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit e29539b

Browse files
authored
Merge pull request #2022 from janhq/fix/include_algorithm
Fix: Include algorithm header file to fix build on other distros
2 parents b4164c6 + a312585 commit e29539b

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

engine/common/download_task_queue.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <algorithm>
12
#include <condition_variable>
23
#include <deque>
34
#include <mutex>

engine/repositories/assistant_fs_repository.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "assistant_fs_repository.h"
22
#include <json/reader.h>
3+
#include <algorithm>
34
#include <filesystem>
45
#include <fstream>
56
#include <mutex>

engine/repositories/file_fs_repository.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "file_fs_repository.h"
22
#include <json/reader.h>
3+
#include <algorithm>
34
#include <filesystem>
45
#include <fstream>
56
#include "database/file.h"

engine/repositories/thread_fs_repository.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "thread_fs_repository.h"
2+
#include <algorithm>
23
#include <fstream>
34
#include <mutex>
45
#include "common/assistant.h"

0 commit comments

Comments
 (0)