[libcxx-commits] [PATCH] D153384: [libcxx] Include <sys/time.h> in posix_compat.h

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 21 09:10:21 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG037952f6d4a5: [libcxx] Include <sys/time.h> in posix_compat.h (authored by phosek).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153384/new/

https://reviews.llvm.org/D153384

Files:
  libcxx/src/filesystem/posix_compat.h


Index: libcxx/src/filesystem/posix_compat.h
===================================================================
--- libcxx/src/filesystem/posix_compat.h
+++ libcxx/src/filesystem/posix_compat.h
@@ -40,6 +40,7 @@
 # include <unistd.h>
 # include <sys/stat.h>
 # include <sys/statvfs.h>
+# include <sys/time.h>
 #endif
 #include <stdlib.h>
 #include <time.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153384.533290.patch
Type: text/x-patch
Size: 357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230621/eb13689b/attachment.bin>


More information about the libcxx-commits mailing list