aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/fuse/example-include.patch
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-26 22:20:19 +0900
committerOphestra <cat@gensokyo.uk>2026-08-26 22:20:19 +0900
commit120ce960a705dd619e416ecbc70bab25ac90375d (patch)
tree31d2556cda5e9d1b67eddfaac9db73c3f07dcf8d /internal/rosa/package/fuse/example-include.patch
parentcf100a75a1f072f75a3bdef115c0a7a20d16c9de (diff)
internal/rosa/package/fuse: include missing headers
The example relies on transitive includes which changed in the new toolchain. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/fuse/example-include.patch')
-rw-r--r--internal/rosa/package/fuse/example-include.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/internal/rosa/package/fuse/example-include.patch b/internal/rosa/package/fuse/example-include.patch
new file mode 100644
index 00000000..906be32d
--- /dev/null
+++ b/internal/rosa/package/fuse/example-include.patch
@@ -0,0 +1,24 @@
+diff --git a/example/cxxopts.hpp b/example/cxxopts.hpp
+index 80b695a9..5f81202a 100644
+--- a/example/cxxopts.hpp
++++ b/example/cxxopts.hpp
+@@ -25,6 +25,7 @@ THE SOFTWARE.
+ #ifndef CXXOPTS_HPP_INCLUDED
+ #define CXXOPTS_HPP_INCLUDED
+
++#include <algorithm>
+ #include <cstring>
+ #include <cctype>
+ #include <exception>
+diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc
+index 2dc0f950..fad8ac3b 100644
+--- a/example/passthrough_hp.cc
++++ b/example/passthrough_hp.cc
+@@ -76,6 +76,7 @@
+ #include <cstdio>
+ #include <cstdlib>
+ #include "cxxopts.hpp"
++#include <functional>
+ #include <mutex>
+ #include <syslog.h>
+ #include <atomic>