From: Willem Jan Withagen Date: Fri, 2 Dec 2016 11:49:08 +0000 (+0100) Subject: os/filestore/chain_xattr.h:uses ENODATA, so include compat.h X-Git-Tag: v11.1.0~1^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e476b80ad13b40c36ca91a4e441fbda7bc8241a4;p=ceph.git os/filestore/chain_xattr.h:uses ENODATA, so include compat.h - Trying to be able to build without ENODATA in /usr/include/errno.h And here we use ENODATA for testing attributes. Include it here, otherwise it will be require in plenty other files. Signed-off-by: Willem Jan Withagen --- diff --git a/src/os/filestore/chain_xattr.h b/src/os/filestore/chain_xattr.h index 54a85686b970..9764c3477512 100644 --- a/src/os/filestore/chain_xattr.h +++ b/src/os/filestore/chain_xattr.h @@ -4,6 +4,7 @@ #ifndef __CEPH_OSD_CHAIN_XATTR_H #define __CEPH_OSD_CHAIN_XATTR_H +#include "include/compat.h" #include "common/xattr.h" #include "include/assert.h" #include "include/buffer.h"