diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-12 15:43:30 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-12 15:43:30 +0000 |
commit | 8828e3e1d66d0e1386cd2c7f50fca751d93c25e8 (patch) | |
tree | 955cd482fc06d44b38ec7acc523a0d64459840ad /leatherman-gcc11.patch | |
parent | cdb4fe650c43f93856591d00152288cff891f8d4 (diff) |
automatic import of leathermanopeneuler24.03_LTS
Diffstat (limited to 'leatherman-gcc11.patch')
-rw-r--r-- | leatherman-gcc11.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/leatherman-gcc11.patch b/leatherman-gcc11.patch new file mode 100644 index 0000000..4ef6eee --- /dev/null +++ b/leatherman-gcc11.patch @@ -0,0 +1,38 @@ +diff --git a/curl/src/client.cc b/curl/src/client.cc +index 558db6d..d27bb36 100644 +--- a/curl/src/client.cc ++++ b/curl/src/client.cc +@@ -1,3 +1,4 @@ ++#include <cstddef> + #include <leatherman/curl/client.hpp> + #include <leatherman/curl/request.hpp> + #include <leatherman/curl/response.hpp> +diff --git a/util/src/posix/scoped_descriptor.cc b/util/src/posix/scoped_descriptor.cc +index 6fd1495..8294d0b 100644 +--- a/util/src/posix/scoped_descriptor.cc ++++ b/util/src/posix/scoped_descriptor.cc +@@ -1,3 +1,5 @@ ++#include <cstddef> ++ + #include <leatherman/util/posix/scoped_descriptor.hpp> + + using namespace std; +diff --git a/util/src/scope_exit.cc b/util/src/scope_exit.cc +index 764c2fb..441855a 100644 +--- a/util/src/scope_exit.cc ++++ b/util/src/scope_exit.cc +@@ -1,3 +1,4 @@ ++#include <cstddef> + #include <leatherman/util/scope_exit.hpp> + + using namespace std; +diff --git a/util/src/scoped_env.cc b/util/src/scoped_env.cc +index 6c6a041..df26645 100644 +--- a/util/src/scoped_env.cc ++++ b/util/src/scoped_env.cc +@@ -1,3 +1,5 @@ ++#include <cstddef> ++ + #include <leatherman/util/scoped_env.hpp> + #include <leatherman/util/environment.hpp> + |