summaryrefslogtreecommitdiff
path: root/src/server/publicServer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/publicServer.c')
-rw-r--r--src/server/publicServer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/publicServer.c b/src/server/publicServer.c
index 6ba7e86..cb52842 100644
--- a/src/server/publicServer.c
+++ b/src/server/publicServer.c
@@ -18,6 +18,9 @@
#include <fcntl.h>
#include <errno.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include "main.h"
#include "list.h"
#include "tux.h"
@@ -369,7 +372,7 @@ int public_server_init()
server_set_max_clients(atoi(public_server_get_setting("MAX_CLIENTS", "--max-clients", "32")));
if (public_server_register() < 0) {
- printf(stderr, _("[Error] Unable to contact MasterServer\n"));
+ fprintf(stderr, _("[Error] Unable to contact MasterServer\n"));
/* TODO: Why not to log it? */
}