aboutsummaryrefslogtreecommitdiff
path: root/ctru-sys/src
diff options
context:
space:
mode:
authorFenrir <[email protected]>2018-01-21 19:00:05 -0700
committerFenrirWolf <[email protected]>2018-01-21 19:16:33 -0700
commitd1475d0d2c2abadee8348cab67a9b6a8fd0a909a (patch)
treeba32a3bdbe25fd5b5f6de05334434eed02e0250f /ctru-sys/src
parentUpdate Travis for the latest nightly (diff)
downloadctru-rs-d1475d0d2c2abadee8348cab67a9b6a8fd0a909a.tar.xz
ctru-rs-d1475d0d2c2abadee8348cab67a9b6a8fd0a909a.zip
Ensure that the sysroot uses its own libc
Diffstat (limited to 'ctru-sys/src')
-rw-r--r--ctru-sys/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctru-sys/src/lib.rs b/ctru-sys/src/lib.rs
index 053d86d..4b40a5c 100644
--- a/ctru-sys/src/lib.rs
+++ b/ctru-sys/src/lib.rs
@@ -7,6 +7,8 @@
#![no_std]
+#![cfg_attr(feature = "stdbuild", feature(libc))]
+
extern crate libc;
include!("bindings.rs");