diff --git a/Cargo.toml b/Cargo.toml index 8fb06d0..ccabe9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ trace = [] [dependencies] time = "~0.1.0" -bitflags = "~0.1" +bitflags = "0.7" libc = "~0.2" clippy = {version = "~0.0.58", optional = true} chrono = { version = "~0.2", optional = true } diff --git a/src/lib.rs b/src/lib.rs index 466ac78..0f69a4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -536,7 +536,7 @@ bitflags! { #[doc = "Flags for opening SQLite database connections."] #[doc = "See [sqlite3_open_v2](http://www.sqlite.org/c3ref/open.html) for details."] #[repr(C)] - flags OpenFlags: c_int { + pub flags OpenFlags: ::libc::c_int { const SQLITE_OPEN_READ_ONLY = 0x00000001, const SQLITE_OPEN_READ_WRITE = 0x00000002, const SQLITE_OPEN_CREATE = 0x00000004,