diff --git a/SOURCES/facter-gcc11.patch b/SOURCES/facter-gcc11.patch index 26a50c8..4c99d4e 100644 --- a/SOURCES/facter-gcc11.patch +++ b/SOURCES/facter-gcc11.patch @@ -17,14 +17,14 @@ index 1dc60b4..bf5bf00 100644 #include using namespace std; -diff --git a/lib/src/util/posix/scoped_bio.cc b/lib/src/util/posix/scoped_bio.cc +diff --git a/lib/src/util/scoped_bio.cc b/lib/src/util/scoped_bio.cc index cdf25d6..dfb7f09 100644 ---- a/lib/src/util/posix/scoped_bio.cc -+++ b/lib/src/util/posix/scoped_bio.cc +--- a/lib/src/util/scoped_bio.cc ++++ b/lib/src/util/scoped_bio.cc @@ -1,4 +1,5 @@ #pragma clang diagnostic ignored "-Wdeprecated-declarations" +#include - #include + #include using namespace std; diff --git a/lib/src/util/posix/scoped_descriptor.cc b/lib/src/util/posix/scoped_descriptor.cc