From e476b80ad13b40c36ca91a4e441fbda7bc8241a4 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Fri, 2 Dec 2016 12:49:08 +0100 Subject: [PATCH] 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 --- src/os/filestore/chain_xattr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/filestore/chain_xattr.h b/src/os/filestore/chain_xattr.h index 54a85686b97..9764c347751 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"