[libc-commits] [libc] [libc] implement pathconf/fpathconf (PR #87165)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Jun 20 08:21:56 PDT 2024
================
@@ -0,0 +1,20 @@
+//===-- Implementation header for pathconf ----------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_UNISTD_PATHCONF_H
+#define LLVM_LIBC_SRC_UNISTD_PATHCONF_H
+
+#include <unistd.h>
----------------
nickdesaulniers wrote:
What are you using from unistd.h in this single declaration? If nothing, then please remove this include.
https://github.com/llvm/llvm-project/pull/87165
More information about the libc-commits
mailing list