Skip to content

Commit c61e172

Browse files
committed
Attempt to fix the build on some platforms - again
See issue #1879.
1 parent 64a596a commit c61e172

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/RemoteDatabase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include <QTimeZone>
1515
#include <json.hpp>
1616

17+
#include <iterator>
18+
1719
#include "RemoteDatabase.h"
1820
#include "version.h"
1921
#include "Settings.h"

src/sql/sqlitetypes.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
#include "grammar/Sqlite3Lexer.hpp"
44
#include "grammar/Sqlite3Parser.hpp"
55

6-
#include <sstream>
7-
#include <iostream>
86
#include <clocale> // This include seems to only be necessary for the Windows build
7+
#include <iostream>
8+
#include <iterator>
99
#include <numeric>
10+
#include <sstream>
1011

1112
namespace {
1213
bool starts_with_ci(const std::string& str, const std::string& with)

0 commit comments

Comments
 (0)