summaryrefslogtreecommitdiff
blob: 0ce375c1a86ce360a82907dc0313917943b42712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Julian Ospald <hasufell@gentoo.org>
Date: Sat Jul 14 20:55:35 UTC 2012
Subject: fix compilation on gcc-4.7

https://bugs.gentoo.org/show_bug.cgi?id=426612

--- simulation/metaserver.cpp
+++ simulation/metaserver.cpp
@@ -16,6 +16,7 @@
  ***************************************************************************/
 #include <cstdio>
 #include <cstdlib>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>