diff --git a/libc-test/build.rs b/libc-test/build.rs
index b9120809b8ae324b867e5917862c33e55294100d..913932cfc9961ec08fa82902fd1b09696885977a 100755
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -537,43 +537,28 @@ fn test_redox(target: &str) {
         "dirent.h",
         "dlfcn.h",
         "errno.h",
-        "execinfo.h",
         "fcntl.h",
-        "glob.h",
         "grp.h",
-        "ifaddrs.h",
-        "langinfo.h",
         "limits.h",
         "locale.h",
-        "net/if.h",
-        "net/if_arp.h",
-        "net/route.h",
         "netdb.h",
         "netinet/in.h",
         "netinet/ip.h",
         "netinet/tcp.h",
-        "netinet/udp.h",
         "poll.h",
-        "pthread.h",
         "pwd.h",
-        "resolv.h",
-        "sched.h",
         "semaphore.h",
         "string.h",
         "strings.h",
         "sys/file.h",
         "sys/ioctl.h",
         "sys/mman.h",
-        "sys/mount.h",
         "sys/ptrace.h",
-        "sys/quota.h",
         "sys/resource.h",
         "sys/socket.h",
         "sys/stat.h",
         "sys/statvfs.h",
-        "sys/sysctl.h",
         "sys/time.h",
-        "sys/times.h",
         "sys/types.h",
         "sys/uio.h",
         "sys/un.h",
@@ -584,7 +569,6 @@ fn test_redox(target: &str) {
         "time.h",
         "unistd.h",
         "utime.h",
-        "utmpx.h",
         "wchar.h",
     }