rnd-20001203-3-src
[rocksndiamonds.git] / src / netserv.c
index a9ffa6a74ab9fdf8353d14e523b42fe874d308c0..6a2479e53df35a2f638533ab85f57065701029bf 100644 (file)
 *  network.c                                               *
 ***********************************************************/
 
-#ifndef MSDOS
+#include "libgame/libgame.h"
+
+#if defined(PLATFORM_UNIX)
 
-#include <unistd.h>
 #include <fcntl.h>
 #include <sys/time.h>
 #include <signal.h>
 #include <arpa/inet.h>
 #include <netdb.h>
 
+#if 0
+#include "libgame/libgame.h"
+#endif
+
 #include "netserv.h"
-#include "misc.h"
 
 static int clients = 0;
 static int onceonly = 0;
@@ -662,4 +666,4 @@ void NetworkServer(int port, int serveronly)
   }
 }
 
-#endif /* !MSDOS */
+#endif /* PLATFORM_UNIX */