https://bugs.winehq.org/show_bug.cgi?id=49829
Gerald Pfeifer gerald@pfeifer.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|file.c:237:37: error: |file.c:237:37: error: |'EXTATTR_NAMESPACE_USER' |'EXTATTR_NAMESPACE_USER' |undeclared building with |undeclared on FreeBSD |GCC 9 and FreeBSD |
--- Comment #3 from Gerald Pfeifer gerald@pfeifer.com --- It turns out this is not specific to GCC, but to building on FreeBSD.
The following addresses part of the issue:
diff -u unix/file.c{.orig,} --- unix/file.c.orig 2020-10-14 19:03:39.476740000 +0000 +++ unix/file.c 2020-10-14 19:49:03.226593000 +0000 @@ -112,6 +112,9 @@ #elif defined(HAVE_SYS_XATTR_H) #include <sys/xattr.h> #endif +#ifdef HAVE_SYS_EXTATTR_H +#include <sys/extattr.h> +#endif #include <time.h> #ifdef HAVE_UNISTD_H # include <unistd.h>