Fix FTBFS due to missing #include
authorAdrian Bunk <bunk@debian.org>
Sat, 25 Feb 2023 20:30:40 +0000 (22:30 +0200)
committerAdrian Bunk <bunk@debian.org>
Sat, 25 Feb 2023 20:30:40 +0000 (22:30 +0200)
Bug-Debian: https://bugs.debian.org/1028680

Gbp-Pq: Name RpmHeader-include.patch

zypp/target/rpm/RpmHeader.cc

index e5b5c735fa192165e9bb74667c44b1e3a7574e22..2eaa16524e9330b36410caaf7b74ad91af76674f 100644 (file)
@@ -11,6 +11,8 @@
 */
 #include "librpm.h"
 
+#include <cstring>
+
 ////////////////////////////////////////////////////////////////////
 // unameToUid and gnameToGid are shamelessly stolen from rpm-4.4.
 // (rpmio/ugid.c) Those functions were dropped in RPM_4_7