Sorry for the noise, I forgot to attach the patch.

WBR,
Cyril Roelandt.
--- mmpong-0.9.1.orig/client_gl/client.cpp      2009-01-12 23:19:44.000000000 
+0100
+++ mmpong-0.9.1/client_gl/client.cpp   2012-05-14 03:53:38.000000000 +0200
@@ -34,6 +34,7 @@
 #include <errno.h>
 #include <SDL_mixer.h>
 #include <iostream>
+#include <unistd.h>
 
 #include "clientstate.h"
 #include "config.h"
--- mmpong-0.9.1.orig/client_gl/netgame.cpp     2009-01-12 22:28:28.000000000 
+0100
+++ mmpong-0.9.1/client_gl/netgame.cpp  2012-05-14 03:54:40.000000000 +0200
@@ -30,6 +30,7 @@
 # include <netinet/tcp.h>
 # include <netinet/ip.h>
 # include <fcntl.h>
+# include <unistd.h>
 #endif
 
 #include <stdexcept>

Reply via email to