[libc-commits] [libc] [libc] stop including unistd.h in src/ (PR #85971)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Mar 20 10:27:44 PDT 2024


================
@@ -9,8 +9,8 @@
 #ifndef LLVM_LIBC_SRC_UNISTD_GETOPT_H
 #define LLVM_LIBC_SRC_UNISTD_GETOPT_H
 
-#include <stdio.h>
-#include <unistd.h>
+#include "include/llvm-libc-types/FILE.h"
+#include "src/__support/common.h"
----------------
nickdesaulniers wrote:

not necessary

https://github.com/llvm/llvm-project/pull/85971


More information about the libc-commits mailing list