diff options
Diffstat (limited to 'src/mastersrv')
| -rw-r--r-- | src/mastersrv/mastersrv.cpp | 7 | ||||
| -rw-r--r-- | src/mastersrv/mastersrv.h | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/mastersrv/mastersrv.cpp b/src/mastersrv/mastersrv.cpp index 6c6f3ddf..03488ffc 100644 --- a/src/mastersrv/mastersrv.cpp +++ b/src/mastersrv/mastersrv.cpp @@ -1,6 +1,9 @@ #include <string.h> -#include <baselib/system.h> -#include <engine/network.h> + +extern "C" { + #include <engine/system.h> + #include <engine/network.h> +} #include "mastersrv.h" diff --git a/src/mastersrv/mastersrv.h b/src/mastersrv/mastersrv.h index cd98bec2..75a1bf0c 100644 --- a/src/mastersrv/mastersrv.h +++ b/src/mastersrv/mastersrv.h @@ -1,6 +1,8 @@ static const int MASTERSERVER_PORT = 8383; -static const int MAX_SERVERS = 200; +enum { + MAX_SERVERS = 200, +}; /*enum { SERVERBROWSE_NULL=0, |