From 22817ccf1a13188a81d42d5fa56cbac28c46adc4 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 26 Jun 2024 11:34:41 -0700 Subject: [PATCH] Platform: add `sys_xattr` module for Android This module was left out from the modulariation pass. The declarations here are required for building swift-foundation for Android. --- stdlib/public/Platform/SwiftAndroidNDK.h | 1 + stdlib/public/Platform/android.modulemap | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/stdlib/public/Platform/SwiftAndroidNDK.h b/stdlib/public/Platform/SwiftAndroidNDK.h index 4d294ef96ad51..325d4295b50e1 100644 --- a/stdlib/public/Platform/SwiftAndroidNDK.h +++ b/stdlib/public/Platform/SwiftAndroidNDK.h @@ -143,6 +143,7 @@ #include #include #include +#include #include #include diff --git a/stdlib/public/Platform/android.modulemap b/stdlib/public/Platform/android.modulemap index 9a0591488cd83..78e7bda99767c 100644 --- a/stdlib/public/Platform/android.modulemap +++ b/stdlib/public/Platform/android.modulemap @@ -282,6 +282,10 @@ module posix_filesystem [system] { header "sys/uio.h" export * } + explicit module sys_xattr { + header "sys/xattr.h" + export * + } } module dl [system] {