File: 0001-add-missing-include-for-inet_pton.patch

package info (click to toggle)
sipgrep 2.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,424 kB
  • sloc: ansic: 4,389; sh: 3,225; makefile: 25
file content (21 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Mon, 25 Mar 2024 16:17:00 +0100
Subject: add missing include for inet_pton()

---
 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>