Skip to content

Commit

Permalink
Bug#35967676: Compiling 5.7 fails with VS2022
Browse files Browse the repository at this point in the history
Add the missing STL headers to allow compiling on VS2022

Change-Id: I2e87cc97fa4365d22ddd18f1d5373c389fda4c86
  • Loading branch information
gkodinov committed Nov 1, 2023
1 parent b5fd418 commit 4611cc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions sql/json_dom.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "sql_error.h" // Sql_condition
#include "prealloced_array.h" // Prealloced_array

#include <functional>
#include <map>
#include <string>

Expand Down
5 changes: 3 additions & 2 deletions storage/innobase/sync/sync0debug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ Created 2012-08-21 Sunny Bains
#include "ut0new.h"
#include "srv0start.h"

#include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <vector>
#include <string>
#include <algorithm>
#include <iostream>

#ifdef UNIV_DEBUG

Expand Down
1 change: 1 addition & 0 deletions storage/myisam/sort.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*/

#include <algorithm>
#include <functional>

#include "fulltext.h"
#if defined(_WIN32)
Expand Down

0 comments on commit 4611cc2

Please sign in to comment.