]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/dma-0.11-compile-fixes.patch
squid 3.5.28: latest patches (01-02)
[people/pmueller/ipfire-2.x.git] / src / patches / dma-0.11-compile-fixes.patch
1 From 60cf6f03a4b13ec0e491a282ab5233a1619a7a66 Mon Sep 17 00:00:00 2001
2 From: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Tue, 24 Apr 2018 12:30:13 +0100
4 Subject: [PATCH] net.c: Include string.h
5
6 Various functions that have been used come from string.h. GCC compiled
7 dma without this header, but unfortunately the binary segfaulted at random
8 times.
9
10 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
11 ---
12 net.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/net.c b/net.c
16 index a1cc3e3bfd79..221dda131a23 100644
17 --- a/net.c
18 +++ b/net.c
19 @@ -53,6 +53,7 @@
20 #include <netdb.h>
21 #include <setjmp.h>
22 #include <signal.h>
23 +#include <string.h>
24 #include <syslog.h>
25 #include <unistd.h>
26
27 --
28 2.14.3
29