mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
26 lines
714 B
Diff
26 lines
714 B
Diff
diff --git a/utils/pxattr.cpp b/utils/pxattr.cpp
|
|
index 1f3c7b1..765416c 100644
|
|
--- a/utils/pxattr.cpp
|
|
+++ b/utils/pxattr.cpp
|
|
@@ -44,7 +44,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
// just let the methods return errors (like they would on a non-xattr
|
|
// fs on e.g. linux)
|
|
#if defined(__FreeBSD__) || defined(PXALINUX) || defined(__APPLE__) \
|
|
- || defined(__OpenBSD__)
|
|
+ || defined(__OpenBSD__) || !defined(__GLIBC__)
|
|
|
|
|
|
#ifndef TEST_PXATTR
|
|
@@ -60,7 +60,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
#include <sys/xattr.h>
|
|
#elif defined(__APPLE__)
|
|
#include <sys/xattr.h>
|
|
-#elif defined(__OpenBSD__)
|
|
+#elif defined(__OpenBSD__) || !defined(__GLIBC__)
|
|
#else
|
|
#error "Unknown system can't compile"
|
|
#endif
|
|
--
|
|
2.13.0
|
|
|