diff --git a/Cargo.toml b/Cargo.toml index f1deb1fe..3fdffd16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,6 @@ path = "src/demo/main.rs" git = "https://github.com/AngryLawyer/rust-sdl2" #version = "~0.0.3" +[dependencies] + +bitflags = "*" diff --git a/src/sdl2_mixer/lib.rs b/src/sdl2_mixer/lib.rs index a03b0452..8543fe52 100644 --- a/src/sdl2_mixer/lib.rs +++ b/src/sdl2_mixer/lib.rs @@ -5,6 +5,8 @@ A binding for SDL2_mixer. #![crate_name = "sdl2_mixer"] #![crate_type = "lib"] +#[macro_use] +extern crate bitflags; extern crate libc; extern crate sdl2;