1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
https://bugs.gentoo.org/976808
https://github.com/gerbera/gerbera/pull/3841
https://github.com/gerbera/gerbera/pull/3889
--- a/src/config/setup/config_setup_path.cc
+++ b/src/config/setup/config_setup_path.cc
@@ -30,6 +30,7 @@
#include "config/config_options.h"
#include "util/logger.h"
+#include <cstring>
#include <pugixml.hpp>
bool ConfigPathSetup::checkPathValue(std::string& optValue, std::string& pathValue) const
--- a/src/content/inotify/mt_inotify.cc
+++ b/src/content/inotify/mt_inotify.cc
@@ -47,6 +47,7 @@
#include <algorithm>
#include <array>
+#include <cstring>
#include <sys/inotify.h>
#include <sys/ioctl.h>
#include <sys/select.h>
--- a/src/database/search_handler.h
+++ b/src/database/search_handler.h
@@ -32,7 +32,7 @@
#include "util/tools.h"
#include <algorithm>
-#include <fmt/core.h>
+#include <fmt/format.h>
#include <map>
#include <memory>
#include <tuple>
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -34,7 +34,7 @@
#ifndef __EXCEPTIONS_H__
#define __EXCEPTIONS_H__
-#include <fmt/core.h>
+#include <fmt/format.h>
#include <stdexcept>
#include <string>
--- a/src/iohandler/mem_io_handler.cc
+++ b/src/iohandler/mem_io_handler.cc
@@ -35,6 +35,7 @@
#include "mem_io_handler.h" // API
#include "exceptions.h"
+#include <cstring>
MemIOHandler::MemIOHandler(const void* buffer, int length)
: buffer(new char[length])
--- a/src/request_handler/request_handler.h
+++ b/src/request_handler/request_handler.h
@@ -36,6 +36,7 @@
#include <map>
#include <memory>
+#include <string>
#include <upnp.h>
// forward declaration
--- a/src/upnp/client_manager.h
+++ b/src/upnp/client_manager.h
@@ -31,6 +31,7 @@
#include <chrono>
#include <memory>
#include <mutex>
+#include <string>
#include <vector>
// forward declarations
--- a/src/upnp/quirks.h
+++ b/src/upnp/quirks.h
@@ -29,6 +29,7 @@
#include <cstdint>
#include <map>
#include <memory>
+#include <string>
#include <vector>
namespace pugi {
--- a/src/util/grb_fs.cc
+++ b/src/util/grb_fs.cc
@@ -27,6 +27,7 @@ Gerbera - https://gerbera.io/
#include "util/tools.h"
#include <algorithm>
+#include <cstring>
#include <fcntl.h>
#include <fstream>
#include <sstream>
--- a/src/util/grb_net.cc
+++ b/src/util/grb_net.cc
@@ -27,6 +27,7 @@ Gerbera - https://gerbera.io/
#include "tools.h"
#include <arpa/inet.h>
+#include <cstring>
#include <ifaddrs.h>
#include <netdb.h>
#include <regex>
--- a/src/util/string_converter.cc
+++ b/src/util/string_converter.cc
@@ -41,6 +41,7 @@
#include "util/logger.h"
#include <array>
+#include <cstring>
#include <vector>
#if FMT_VERSION >= 100202
#include <fmt/ranges.h>
--- a/src/util/thread_executor.cc
+++ b/src/util/thread_executor.cc
@@ -34,6 +34,7 @@
#include "thread_executor.h" // API
#include "util/logger.h"
+#include <cstring>
ThreadExecutor::~ThreadExecutor()
{
--- a/src/util/thread_runner.h
+++ b/src/util/thread_runner.h
@@ -32,6 +32,7 @@
#include <chrono>
#include <condition_variable>
+#include <cstring>
#include <functional>
#include <mutex>
#include <pthread.h>
--- a/src/util/tools.cc
+++ b/src/util/tools.cc
@@ -39,6 +39,7 @@
#include <algorithm>
#include <cinttypes>
+#include <cstring>
#include <numeric>
#include <queue>
#include <regex>
--- a/src/util/url.h
+++ b/src/util/url.h
@@ -39,6 +39,7 @@
#include <curl/curl.h>
#include <memory>
+#include <sstream>
#include <string>
/// @brief Handle urls for CURL
--- a/src/util/url_utils.cc
+++ b/src/util/url_utils.cc
@@ -29,6 +29,7 @@ Gerbera - https://gerbera.io/
#if FMT_VERSION >= 100202
#include <fmt/ranges.h>
#endif
+#include <cstring>
#include <sstream>
// URL FORMATTING CONSTANTS
--- a/src/util/url_utils.h
+++ b/src/util/url_utils.h
@@ -25,6 +25,7 @@
#define GERBERA_URL_UTILS_H
#include <map>
+#include <string>
#include <string_view>
#include <utility>
#include <vector>
--
2.53.0
|