#ifndef XATTR_ADDITIONAL_OPTIONS
return getxattr(path, name, value, size);
#else
+
+/* So that we do not recursivly call this function */
+#undef getxattr
int options = 0;
return getxattr(path, name, value, size, 0, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return fgetxattr(filedes, name, value, size);
#else
+
+/* So that we do not recursivly call this function */
+#undef fgetxattr
int options = 0;
return fgetxattr(filedes, name, value, size, 0, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return listxattr(path, list, size);
#else
+/* So that we do not recursivly call this function */
+#undef listxattr
int options = 0;
return listxattr(path, list, size, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return flistxattr(filedes, list, size);
#else
+/* So that we do not recursivly call this function */
+#undef flistxattr
int options = 0;
return flistxattr(filedes, list, size, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return removexattr(path, name);
#else
+/* So that we do not recursivly call this function */
+#undef removexattr
int options = 0;
return removexattr(path, name, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return fremovexattr(filedes, name);
#else
+/* So that we do not recursivly call this function */
+#undef fremovexattr
int options = 0;
return fremovexattr(filedes, name, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return setxattr(path, name, value, size, flags);
#else
+/* So that we do not recursivly call this function */
+#undef setxattr
int options = 0;
return setxattr(path, name, value, size, 0, options);
#endif
#ifndef XATTR_ADDITIONAL_OPTIONS
return fsetxattr(filedes, name, value, size, flags);
#else
+/* So that we do not recursivly call this function */
+#undef fsetxattr
int options = 0;
return fsetxattr(filedes, name, value, size, 0, options);
#endif