diff --git a/src/lib.rs b/src/lib.rs index e15c4e5..912d35c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -46,7 +46,9 @@ mod egl { pub type khronos_uint64_t = libc::uint64_t; pub type khronos_ssize_t = libc::c_long; pub type EGLint = libc::int32_t; - pub type EGLNativeDisplayType = *const libc::c_void; + // FIXME: https://github.com/servo/servo/pull/6423#issuecomment-113282933 + // pub type EGLNativeDisplayType = *const libc::c_void; + pub type EGLNativeDisplayType = *mut libc::c_void; pub type EGLNativePixmapType = *const libc::c_void; pub type EGLNativeWindowType = *const libc::c_void; pub type NativeDisplayType = EGLNativeDisplayType;