X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fnetserv.c;h=6a2479e53df35a2f638533ab85f57065701029bf;hb=ff56a43aa3799aa3357f4deca4d6482fc25a6a41;hp=a9ffa6a74ab9fdf8353d14e523b42fe874d308c0;hpb=0918c3eb2f6219a8cc72aa85bd9c4889788dd474;p=rocksndiamonds.git diff --git a/src/netserv.c b/src/netserv.c index a9ffa6a7..6a2479e5 100644 --- a/src/netserv.c +++ b/src/netserv.c @@ -11,9 +11,10 @@ * network.c * ***********************************************************/ -#ifndef MSDOS +#include "libgame/libgame.h" + +#if defined(PLATFORM_UNIX) -#include #include #include #include @@ -25,8 +26,11 @@ #include #include +#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 */