]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
include/denc: include used header
authorKefu Chai <kchai@redhat.com>
Mon, 12 Apr 2021 09:43:13 +0000 (17:43 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 12 Apr 2021 09:43:14 +0000 (17:43 +0800)
commit03770f75562812c683ff1503d2032dcd66d83289
tree1f1a27e309a3912580116b1975a17a4bc8180c94
parent7c2f58ea5ec70e5606ab362e6f4cfda087cec65a
include/denc: include used header

to address the FTBFS like:

/home/kchai/ceph/src/include/denc.h: In member function ‘void DencDumper<T>::dump() const’:
/home/kchai/ceph/src/include/denc.h:121:60: error: ‘O_BINARY’ was not declared in this scope
     int fd = ::open(fn, O_WRONLY|O_TRUNC|O_CREAT|O_CLOEXEC|O_BINARY, 0644);
                                                            ^~~~~~~~
/home/kchai/ceph/src/include/denc.h:121:60: note: the macro ‘O_BINARY’ had not yet been defined
In file included from /home/kchai/ceph/src/include/statlite.h:14,
                 from /home/kchai/ceph/src/include/types.h:41,
                 from /home/kchai/ceph/src/auth/Crypto.h:19,
                 from /home/kchai/ceph/src/auth/Crypto.cc:21:

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/denc.h