]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore/chain_xattr.h:uses ENODATA, so include compat.h 12279/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 2 Dec 2016 11:49:08 +0000 (12:49 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 2 Dec 2016 11:53:10 +0000 (12:53 +0100)
 - 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 <wjw@digiware.nl>
src/os/filestore/chain_xattr.h

index 54a85686b9706ed251c469772a92e66a064746dd..9764c347751233dea095c5ff81bd148debade4cd 100644 (file)
@@ -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"