rnd-20020803-1-src
[rocksndiamonds.git] / src / netserv.c
index 10b0ab504d5615a66dc17e9221e7630f7bd60238..21a48572d08af642fc09fbb42cd94630971fa0b6 100644 (file)
@@ -1,17 +1,19 @@
 /***********************************************************
-*  Rocks'n'Diamonds -- McDuffin Strikes Back!              *
+* Rocks'n'Diamonds -- McDuffin Strikes Back!               *
 *----------------------------------------------------------*
-*  (c) 1995-98 Artsoft Entertainment                       *
-*              Holger Schemel                              *
-*              Oststrasse 11a                              *
-*              33604 Bielefeld                             *
-*              phone: ++49 +521 290471                     *
-*              email: aeglos@valinor.owl.de                *
+* (c) 1995-2002 Artsoft Entertainment                      *
+*               Holger Schemel                             *
+*               Detmolder Strasse 189                      *
+*               33604 Bielefeld                            *
+*               Germany                                    *
+*               e-mail: info@artsoft.org                   *
 *----------------------------------------------------------*
-*  network.c                                               *
+* network.c                                                *
 ***********************************************************/
 
-#if !defined(MSDOS) && !defined(WIN32)
+#include "libgame/platform.h"
+
+#if defined(PLATFORM_UNIX)
 
 #include <fcntl.h>
 #include <sys/time.h>
@@ -24,8 +26,9 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 
+#include "libgame/libgame.h"
+
 #include "netserv.h"
-#include "misc.h"
 
 static int clients = 0;
 static int onceonly = 0;
@@ -661,4 +664,4 @@ void NetworkServer(int port, int serveronly)
   }
 }
 
-#endif /* !MSDOS && !WIN32 */
+#endif /* PLATFORM_UNIX */