From 03770f75562812c683ff1503d2032dcd66d83289 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 12 Apr 2021 17:43:13 +0800 Subject: [PATCH] include/denc: include used header MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to address the FTBFS like: /home/kchai/ceph/src/include/denc.h: In member function ‘void DencDumper::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 --- src/include/denc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/denc.h b/src/include/denc.h index 266121bd20c..10fa8d0c871 100644 --- a/src/include/denc.h +++ b/src/include/denc.h @@ -39,6 +39,7 @@ #include #include +#include "include/compat.h" #include "include/intarith.h" #include "include/int_types.h" #include "include/scope_guard.h" -- 2.47.3