summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp1
-rw-r--r--src/main.cpp13
-rw-r--r--src/utils/mkdir.cpp2
3 files changed, 0 insertions, 16 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d25261ab6..a64ed424a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -141,7 +141,6 @@
#include <sys/stat.h>
#include <climits>
-#include <errno.h>
#include <fstream>
#include "mumblemanager.h"
diff --git a/src/main.cpp b/src/main.cpp
index 765d0d11c..65b6e98ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -48,10 +48,6 @@
#include <windows.h>
#endif
-#ifdef __native_client__
-#include <sys/mount.h>
-#endif
-
#include <SDL_image.h>
#include <SDL_mixer.h>
#include <SDL_version.h>
@@ -278,15 +274,6 @@ int main(int argc, char *argv[])
LoadLibrary("exchndl.dll");
#endif
-#if defined __native_client__
- // for now for debug hardcoded path
- umount("/");
- mount("", "/", "memfs", 0, "");
- mount("", "/persistent", "html5fs", 0,
- "type=PERSISTENT,expected_size=104857600");
- mount("http://localhost:5103/my/manaplus", "/http", "httpfs", 0, "");
-#endif
-
selfName = argv[0];
// Parse command line options
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index 959b15b04..3108d1afa 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -36,8 +36,6 @@
#include <cstdlib>
#endif
-#include <errno.h>
-
#include "debug.h"
#if defined WIN32