aports/testing/sipgrep/gcc14.patch

25 lines
828 B
Diff

Source: https://github.com/sipcapture/sipgrep/pull/45/commits/f6a28e1f2164e2550226680b3646e3434a6aa668.patch
--
From f6a28e1f2164e2550226680b3646e3434a6aa668 Mon Sep 17 00:00:00 2001
From: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Mon, 25 Mar 2024 16:23:06 +0100
Subject: [PATCH] add missing include for inet_pton()
Reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067666
---
src/transport_hep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/transport_hep.c b/src/transport_hep.c
index 91c8c5e..57122d4 100644
--- a/src/transport_hep.c
+++ b/src/transport_hep.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
-
+#include <arpa/inet.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <stdio.h>