From 17dec33a0fdc1151a31495b75f26d383ccca2de6 Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Thu, 11 Feb 2021 16:51:55 +0300 Subject: [PATCH] Remove unused iconv.h includes These are left over from 3e4d684dcdd1dff363a45c70c914204013810155, which added includes to *all* platforms despite adding bindings only to *some* of them. This already broke OpenBSD which doesn't have iconv.h (fixed by 915d8fac81f40b7f2622523725634d049acff6ea), and is just distasteful, so down with those unused includes. --- libc-test/build.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index ac31778935f2e..64edc1e2a5a53 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -559,7 +559,6 @@ fn test_redox(target: &str) { "errno.h", "fcntl.h", "grp.h", - "iconv.h", "limits.h", "locale.h", "netdb.h", @@ -620,7 +619,6 @@ fn test_solarish(target: &str) { "fcntl.h", "glob.h", "grp.h", - "iconv.h", "ifaddrs.h", "langinfo.h", "limits.h", @@ -1334,7 +1332,6 @@ fn test_android(target: &str) { "errno.h", "fcntl.h", "grp.h", - "iconv.h", "ifaddrs.h", "limits.h", "locale.h", @@ -1922,7 +1919,6 @@ fn test_emscripten(target: &str) { "fcntl.h", "glob.h", "grp.h", - "iconv.h", "ifaddrs.h", "langinfo.h", "limits.h",