Module: kamailio
Branch: master
Commit: 733482c6565b7dd3a14ba84ca268267ca2f6879d
URL: 
https://github.com/kamailio/kamailio/commit/733482c6565b7dd3a14ba84ca268267ca2f6879d

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-02-08T15:45:40+01:00

core: resolve - added missing headers file for str shm dup

---

Modified: src/core/resolve.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/733482c6565b7dd3a14ba84ca268267ca2f6879d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/733482c6565b7dd3a14ba84ca268267ca2f6879d.patch

---

diff --git a/src/core/resolve.c b/src/core/resolve.c
index 3f320338290..c92f19c3457 100644
--- a/src/core/resolve.c
+++ b/src/core/resolve.c
@@ -39,7 +39,7 @@
  * On alpine linux musl library it is also not defined. There is no
  * musl feature test macro, so we look for glibc instead.
  */
-#if (defined __GLIBC__ && __GLIBC__ == 2 && __GLIBC_MINOR__ < 25) \
+#if(defined __GLIBC__ && __GLIBC__ == 2 && __GLIBC_MINOR__ < 25) \
                || !defined __GLIBC__
 #ifndef T_OPT
 #define T_OPT ns_t_opt
@@ -51,6 +51,7 @@
 #include "dprint.h"
 #include "mem/mem.h"
 #include "ip_addr.h"
+#include "ut.h"
 #include "error.h"
 #include "globals.h" /* tcp_disable, tls_disable a.s.o */
 #include "cfg_core.h"

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to