summaryrefslogtreecommitdiffstats
path: root/patches/tntnet-2.2.1/0001-gnutls.cpp-Include-unistd.h-for-read-and-write-calls.patch
blob: a8b4428f0d57ffb53f9b350ff6e337b1930326b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Bernhard Sessler <bernhard.sessler@corscience.de>
Date: Tue, 4 Feb 2014 15:19:48 +0100
Subject: [PATCH] gnutls.cpp: Include unistd.h for ::read() and ::write() calls

Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
---
 framework/common/gnutls.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/common/gnutls.cpp b/framework/common/gnutls.cpp
index f1c019b..8b23928 100644
--- a/framework/common/gnutls.cpp
+++ b/framework/common/gnutls.cpp
@@ -31,6 +31,7 @@
 #include "tnt/tntnet.h"
 #include <cxxtools/mutex.h>
 #include <cxxtools/log.h>
+#include <unistd.h>
 #include <sstream>
 #include <sys/poll.h>
 #include <errno.h>