diff -rubB tetrinet-0.11/Makefile tetrinet-0.11_max/Makefile --- tetrinet-0.11/Makefile 2003-09-07 09:29:29.000000000 -0700 +++ tetrinet-0.11_max/Makefile 2005-02-13 22:39:22.880876800 -0800 @@ -1,6 +1,6 @@ CC = cc -CFLAGS = -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall +CFLAGS = -O2 -I/usr/include/ncurses -g -Wall OBJS = sockets.o tetrinet.o tetris.o tty.o xwin.o ### If you want to have -server tetrinet client option, comment the two lines diff -rubB tetrinet-0.11/sockets.c tetrinet-0.11_max/sockets.c --- tetrinet-0.11/sockets.c 2003-09-09 12:15:04.000000000 -0700 +++ tetrinet-0.11_max/sockets.c 2005-02-13 22:39:48.858230400 -0800 @@ -188,7 +188,7 @@ return -1; } if (ipbuf) - memcpy(retbuf, &sa.sin_addr, 4); + memcpy(ipbuf, &sa.sin_addr, 4); #endif return sock; diff -rubB tetrinet-0.11/sockets.h tetrinet-0.11_max/sockets.h --- tetrinet-0.11/sockets.h 2003-09-05 03:28:55.000000000 -0700 +++ tetrinet-0.11_max/sockets.h 2005-01-17 23:15:11.476512000 -0800 @@ -15,4 +15,8 @@ extern int conn(const char *host, int port, char ipbuf[4]); extern void disconn(int s); +#ifndef NI_MAXHOST +#define NI_MAXHOST 1024 +#endif + #endif /* SOCKETS_H */ Only in tetrinet-0.11_max: tetrinet-server.exe Only in tetrinet-0.11_max: tetrinet.exe diff -rubB tetrinet-0.11/tetrinet.h tetrinet-0.11_max/tetrinet.h --- tetrinet-0.11/tetrinet.h 2003-09-07 09:12:51.000000000 -0700 +++ tetrinet-0.11_max/tetrinet.h 2005-01-17 23:23:53.427040000 -0800 @@ -11,6 +11,10 @@ # include "io.h" #endif +#ifndef SIGIOT +#define SIGIOT 6 +#endif + /*************************************************************************/ /* Basic types */ diff -rubB tetrinet-0.11/tty.c tetrinet-0.11_max/tty.c --- tetrinet-0.11/tty.c 2003-09-11 13:26:53.000000000 -0700 +++ tetrinet-0.11_max/tty.c 2005-01-17 23:23:57.853404800 -0800 @@ -15,6 +15,7 @@ #include #include #include +#include #include "tetrinet.h" #include "tetris.h" #include "io.h"