Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Pedro Coelho <luis@luispedro.org>2012-10-24 14:34:32 +0400
committerLuis Pedro Coelho <luis@luispedro.org>2012-10-24 14:37:35 +0400
commitdd3e0e0180cca3eb8d3182c22f93c7f6572f1bce (patch)
tree0e54c45808bc014cafee6403965da15c04b58a4b /cluster
parentc3bf2e4e8b31f20863916e2116d8425611279956 (diff)
ENH Add missing includes
This is necessary for compilation on new Ubuntu (12.10). It should not have any negative effects on other systems. For Unix, at worst, it just includes extra files and I added it all inside #ifndef _WIN32 (or equivalent); so Windows should not even see this.
Diffstat (limited to 'cluster')
-rw-r--r--cluster/spanning_tree.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cluster/spanning_tree.cc b/cluster/spanning_tree.cc
index d4f293a8..8602da44 100644
--- a/cluster/spanning_tree.cc
+++ b/cluster/spanning_tree.cc
@@ -29,6 +29,7 @@ int getpid()
#else
+#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>