diff options
Diffstat (limited to 'CMake')
-rw-r--r-- | CMake/CurlTests.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c index ceff39151..bc36c8ef7 100644 --- a/CMake/CurlTests.c +++ b/CMake/CurlTests.c @@ -533,3 +533,19 @@ main () { return 0; } #endif +#ifdef HAVE_FSETXATTR_6 +#include <sys/xattr.h> /* header from libc, not from libattr */ +int +main() { + fsetxattr(0, 0, 0, 0, 0, 0); + return 0; +} +#endif +#ifdef HAVE_FSETXATTR_5 +#include <sys/xattr.h> /* header from libc, not from libattr */ +int +main() { + fsetxattr(0, 0, 0, 0, 0); + return 0; +} +#endif |