summaryrefslogtreecommitdiff
path: root/games/tetrinet/files/patch-ab
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-03-05 13:57:25 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-03-05 13:57:25 +0000
commitf2e96a5f19d306a0d33c60cdddc8fcd0fb351430 (patch)
tree9282f33a4aff444df0c89d3ed3a40de3e68ff3d3 /games/tetrinet/files/patch-ab
parentClean up ugly wording of instructions on how to use kscd. (diff)
Add tetrinet, a very popular Tetris-like multiplayer game with extras.
PR: 25310 Submitted by: Fredrik Carlsson <fredrik@wasadata.com>
Notes
Notes: svn path=/head/; revision=39091
Diffstat (limited to 'games/tetrinet/files/patch-ab')
-rw-r--r--games/tetrinet/files/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/tetrinet/files/patch-ab b/games/tetrinet/files/patch-ab
new file mode 100644
index 000000000000..644540a2510e
--- /dev/null
+++ b/games/tetrinet/files/patch-ab
@@ -0,0 +1,22 @@
+--- server.c.old Sun Mar 4 17:57:08 2001
++++ server.c Sun Mar 4 17:57:44 2001
+@@ -4,6 +4,10 @@
+ * Tetrinet server code
+ */
+
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <sys/time.h>
++
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -14,8 +18,6 @@
+ * reason to not use glibc. */
+ /* #include <netinet/protocols.h> */
+ #include <signal.h>
+-#include <sys/socket.h>
+-#include <sys/time.h>
+ #include "tetrinet.h"
+ #include "tetris.h"
+ #include "server.h"