]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/dma-0.11-compile-fixes.patch
update Tor to 0.3.5.8
[people/pmueller/ipfire-2.x.git] / src / patches / dma-0.11-compile-fixes.patch
CommitLineData
86fd1947
MT
1From 60cf6f03a4b13ec0e491a282ab5233a1619a7a66 Mon Sep 17 00:00:00 2001
2From: Michael Tremer <michael.tremer@ipfire.org>
3Date: Tue, 24 Apr 2018 12:30:13 +0100
4Subject: [PATCH] net.c: Include string.h
5
6Various functions that have been used come from string.h. GCC compiled
7dma without this header, but unfortunately the binary segfaulted at random
8times.
9
10Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
11---
12 net.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/net.c b/net.c
16index 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--
282.14.3
29