diff --git a/default.nix b/default.nix
index 5919f2a6cad6cbcbf9757e224eb32f0e07052fc7..92bc96b47015e8cc4fa0f9241fb3b7489ab18b38 100644
--- a/default.nix
+++ b/default.nix
@@ -27,7 +27,7 @@ let
     version = "0.0.0";
     src = ./.;
     cargoSha256 = "10qv30p3kr570glnyn37b6r8pgx48zj0mr9qf84m4wk4sjp3wxsd";
-    buildInputs = [ pkgsCross.armhf-embedded.stdenv.cc ];
+    buildInputs = [ pkgsCross.armhf-embedded.stdenv.cc glibc_multi ];
     prePatch = ''
       cp ${epic-stubs}/client.c l0dable/src/
     '';
diff --git a/l0dable/src/lib.rs b/l0dable/src/lib.rs
index 1026066307a1e540500e1cc23874b1bd92e4542f..1b46bb3ce69e3163d7f306f10a45383b720e6837 100644
--- a/l0dable/src/lib.rs
+++ b/l0dable/src/lib.rs
@@ -44,6 +44,8 @@ pub unsafe extern "C" fn Reset_Handler() -> ! {
 pub mod ctypes {
     #![allow(non_camel_case_types)]
 
+    pub type c_short = i16;
+    pub type c_ushort = u16;
     pub type c_int = i32;
     pub type c_uint = u32;
     pub type c_long = i32;
@@ -51,6 +53,8 @@ pub mod ctypes {
     pub type c_longlong = i64;
     pub type c_ulonglong = u64;
     pub type c_char = u8;
+    pub type c_schar = i8;
+    pub type c_uchar = u8;
     pub use core::ffi::c_void;
 }