| 1 | missing libstdc++13 includes
|
| 2 | --
|
| 3 | |
| 4 | |
| 5 | @@ -2566,6 +2566,7 @@
|
| 6 | #undef VMA_IMPLEMENTATION
|
| 7 |
|
| 8 | #include <cstdint>
|
| 9 | +#include <cstdio>
|
| 10 | #include <cstdlib>
|
| 11 | #include <cstring>
|
| 12 | #include <utility>
|
| 13 | |
| 14 | |
| 15 | @@ -21,6 +21,7 @@
|
| 16 | #include <cassert>
|
| 17 | #include <cstddef> // for std::size_t
|
| 18 | #include <cstdlib> // for qsort
|
| 19 | +#include <cstdint>
|
| 20 | #include <functional>
|
| 21 | #include <iterator>
|
| 22 | #include <memory>
|
| 23 | |
| 24 | |
| 25 | @@ -5,6 +5,7 @@
|
| 26 | #ifndef FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_
|
| 27 | #define FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_
|
| 28 |
|
| 29 | +#include <cstdint>
|
| 30 | #include <memory>
|
| 31 |
|
| 32 | #include "flutter/fml/macros.h"
|
| 33 | |
| 34 | |
| 35 | @@ -5,6 +5,7 @@
|
| 36 | #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_
|
| 37 | #define FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_
|
| 38 |
|
| 39 | +#include <cstdint>
|
| 40 | #include <memory>
|
| 41 |
|
| 42 | #include "fml/hash_combine.h"
|
| 43 | |
| 44 | |
| 45 | @@ -5,6 +5,7 @@
|
| 46 | #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_HANDLE_GLES_H_
|
| 47 | #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_HANDLE_GLES_H_
|
| 48 |
|
| 49 | +#include <cstdint>
|
| 50 | #include <optional>
|
| 51 | #include <sstream>
|
| 52 | #include <string>
|
| 53 | |
| 54 | |
| 55 | @@ -5,6 +5,7 @@
|
| 56 | #ifndef FLUTTER_DISPLAY_LIST_DL_STORAGE_H_
|
| 57 | #define FLUTTER_DISPLAY_LIST_DL_STORAGE_H_
|
| 58 |
|
| 59 | +#include <cstdint>
|
| 60 | #include <memory>
|
| 61 |
|
| 62 | #include "flutter/fml/logging.h"
|
| 63 | |
| 64 | |
| 65 | @@ -5,7 +5,7 @@
|
| 66 | #include "flutter/tools/licenses_cpp/src/filter.h"
|
| 67 | #include <fstream>
|
| 68 |
|
| 69 | -absl::StatusOr<Filter> Filter::Open(std::string_view path) {
|
| 70 | +absl::StatusOr<Filter> Filter::Open(std::string path) {
|
| 71 | std::ifstream input;
|
| 72 | input.open(path);
|
| 73 | absl::StatusOr<Filter> result = Open(input);
|
| 74 | |
| 75 | |
| 76 | @@ -16,7 +16,7 @@
|
| 77 | /// This is used for things like the include.txt and exclude.txt.
|
| 78 | class Filter {
|
| 79 | public:
|
| 80 | - static absl::StatusOr<Filter> Open(std::string_view path);
|
| 81 | + static absl::StatusOr<Filter> Open(std::string path);
|
| 82 |
|
| 83 | static absl::StatusOr<Filter> Open(std::istream& input);
|
| 84 |
|
| 85 | |
| 86 | |
| 87 | @@ -6,6 +6,7 @@
|
| 88 | #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_BINARY_MESSENGER_H_
|
| 89 |
|
| 90 | #include <functional>
|
| 91 | +#include <cstdint>
|
| 92 | #include <string>
|
| 93 |
|
| 94 | namespace flutter {
|
| 95 | |
| 96 | |
| 97 | @@ -5,6 +5,8 @@
|
| 98 | #ifndef FLUTTER_DISPLAY_LIST_DL_TEXT_H_
|
| 99 | #define FLUTTER_DISPLAY_LIST_DL_TEXT_H_
|
| 100 |
|
| 101 | +#include <memory>
|
| 102 | +
|
| 103 | #include "flutter/display_list/geometry/dl_geometry_types.h"
|
| 104 |
|
| 105 | namespace impeller {
|
| 106 | |
| 107 | |
| 108 | @@ -31,8 +31,8 @@
|
| 109 |
|
| 110 | #if defined(GLFW_BUILD_POSIX_TIMER)
|
| 111 |
|
| 112 | +#include <time.h>
|
| 113 | #include <unistd.h>
|
| 114 | -#include <sys/time.h>
|
| 115 |
|
| 116 |
|
| 117 | //////////////////////////////////////////////////////////////////////////
|
| 118 | |
| 119 | |
| 120 | @@ -81,6 +81,7 @@
|
| 121 | defines = [
|
| 122 | "_GLFW_X11",
|
| 123 | "_GLFW_HAS_XF86VM",
|
| 124 | + "_POSIX_SOURCE",
|
| 125 | ]
|
| 126 |
|
| 127 | libs = [
|