From 488ab8c7542600e5499c1b6ae5f193455bf1c25d Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Fri, 8 Jun 2012 12:28:13 +0200 Subject: [PATCH] The function close() is declared in unistd.h. We must include this since it might not be pulled in by other headers on all platforms. Closes #216 --- telldus-core/common/Socket_unix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/telldus-core/common/Socket_unix.cpp b/telldus-core/common/Socket_unix.cpp index 23512a60..947df5bb 100644 --- a/telldus-core/common/Socket_unix.cpp +++ b/telldus-core/common/Socket_unix.cpp @@ -4,6 +4,7 @@ #include "Strings.h" #include +#include #include #include #include