Some cleanups for wasm and asmjs
[mandelwow.git] / main.rs
diff --git a/main.rs b/main.rs
index e0d2ad2df089ae64fe881c29b3341118d6c18d79..9c223c90973673d8493c6d7b780642ecc2d933d6 100644 (file)
--- a/main.rs
+++ b/main.rs
@@ -13,6 +13,8 @@ use glium::{DisplayBuild, Surface};
 use glutin::ElementState::Pressed;
 use glutin::Event::KeyboardInput;
 use glutin::VirtualKeyCode;
+
+#[cfg(target_os = "emscripten")]
 use std::os::raw::{c_int, c_void};
 
 mod bounding_box;