[libc] fix header list for x86_64
authorMichael Jones <michaelrj@google.com>
Mon, 10 Oct 2022 22:35:16 +0000 (15:35 -0700)
committerMichael Jones <michaelrj@google.com>
Mon, 10 Oct 2022 23:05:53 +0000 (16:05 -0700)
Some headers hadn't been added, this fixes that and improves the
ordering.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D135629

libc/config/linux/x86_64/headers.txt

index a745bcc..145143a 100644 (file)
@@ -1,7 +1,9 @@
 set(TARGET_PUBLIC_HEADERS
     libc.include.assert_h
     libc.include.ctype
+    libc.include.dirent
     libc.include.errno
+    libc.include.fcntl
     libc.include.fenv
     libc.include.inttypes
     libc.include.math
@@ -11,11 +13,16 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.stdio
     libc.include.stdlib
     libc.include.string
+    libc.include.threads
+    libc.include.time
+    libc.include.unistd
+
     libc.include.sys_ioctl
     libc.include.sys_mman
     libc.include.sys_random
+    libc.include.sys_resource
+    libc.include.sys_stat
     libc.include.sys_syscall
-    libc.include.threads
-    libc.include.time
-    libc.include.unistd
+    libc.include.sys_utsname
+    libc.include.sys_wait
 )