summaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-26 14:02:49 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-26 14:02:49 +0000
commit3501cd8b1173f6c6d8c84f631734344252ebd31d (patch)
tree5063a6cdeb4da221dfa15617a0a05f41bdd81872 /src/udp.c
parentaa864b63aba5260b8bd35da61c543e08ae03bd49 (diff)
- oprava chyby pri teleportovani tuxa pomocou bonusu teleport
- zdrojak na niektorych distrach nesiel skopilovat lebo nemal includovane headre na select, a "spoliehal" sa na includovanie pomocou inych headrov ( a nahodov to fungovalo ) - kod pre kompilaciu modulov pre gameserver nepouziva sdl-config :) git-svn-id: http://opensvn.csie.org/tuxanci_ng@73 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udp.c b/src/udp.c
index 135b098..545b639 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -4,6 +4,7 @@
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <netdb.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
@@ -11,7 +12,7 @@
#include <netdb.h>
#include <string.h>
#include <assert.h>
-#include <netdb.h>
+
#define BUFSIZE 1000
#include "udp.h"