File wireshark-0000-wsutil-implicit_declaration_memcpy.patch of Package wireshark.27529

Index: wireshark-3.6.1/wsutil/glib-compat.h
===================================================================
--- wireshark-3.6.1.orig/wsutil/glib-compat.h
+++ wireshark-3.6.1/wsutil/glib-compat.h
@@ -21,6 +21,9 @@ extern "C" {
 #endif /* __cplusplus */
 
 #if !GLIB_CHECK_VERSION(2, 68, 0)
+
+#include <string.h>
+
 static inline gpointer
 g_memdup2(gconstpointer mem, gsize byte_size)
 {
openSUSE Build Service is sponsored by