diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-05-16 09:17:26 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-05-16 11:03:12 +0200 |
commit | 9183c00f7e01d6d3474ddd3eb7f1406cb1a0a577 (patch) | |
tree | 42d995e5f140625ba9882b0c103f579fcaabccf1 /libc-test/build.rs | |
parent | 3ac67ebcf7289b6088db35dd1c508a3afe25dcfc (diff) | |
download | rust-libc-9183c00f7e01d6d3474ddd3eb7f1406cb1a0a577.tar.gz |
Remove unecessarily disabling a warning on FreeBSD
Diffstat (limited to 'libc-test/build.rs')
-rw-r--r-- | libc-test/build.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 696b60be94..4ff6b3a503 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -1572,12 +1572,9 @@ fn test_freebsd(target: &str) { let x86 = target.contains("i686") || target.contains("x86_64"); let mut cfg = ctest::TestGenerator::new(); - // FIXME: still necessary? + // Required for `getline`: cfg.define("_WITH_GETLINE", None); - // FIXME: still necessary? - cfg.flag("-Wno-deprecated-declarations"); - headers! { cfg: "aio.h", "arpa/inet.h", |