2024-03-01 23:04:17 +01:00
|
|
|
Index: wireshark-4.2.0rc2/wsutil/glib-compat.h
|
2023-12-19 16:31:14 +01:00
|
|
|
===================================================================
|
2024-03-01 23:04:17 +01:00
|
|
|
--- wireshark-4.2.0rc2.orig/wsutil/glib-compat.h
|
|
|
|
+++ wireshark-4.2.0rc2/wsutil/glib-compat.h
|
|
|
|
@@ -23,6 +23,9 @@ extern "C" {
|
2023-12-19 16:31:14 +01:00
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#if !GLIB_CHECK_VERSION(2, 68, 0)
|
|
|
|
+
|
|
|
|
+#include <string.h>
|
|
|
|
+
|
2024-03-01 23:04:17 +01:00
|
|
|
static inline void *
|
|
|
|
g_memdup2(gconstpointer mem, size_t byte_size)
|
2023-12-19 16:31:14 +01:00
|
|
|
{
|