File perl-libapt-pkg-missing_includes.patch of Package perl-libapt-pkg

--- AptPkg.xs
+++ AptPkg.xs
@@ -6,6 +6,9 @@
 
 #include <string>
 #include <vector>
+#include <cstring>
+using std::strlen;
+
 #include <apt-pkg/init.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/configuration.h>
openSUSE Build Service is sponsored by