]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/ceph_time: do not include non-existent header file
authorKefu Chai <kchai@redhat.com>
Mon, 26 Apr 2021 15:46:04 +0000 (23:46 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 2 May 2021 00:16:12 +0000 (08:16 +0800)
i have following error when building on MacOS

ceph/src/common/ceph_time.cc:29:10: fatal error: 'ostringstream' file not found
         ^~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/ceph_time.cc

index 69b3cdde6e87d147d793a1fcb75f27c5a3adda3a..1b8c3ae08a5e93e67fabaf0f8d7ae3356f1036b5 100644 (file)
@@ -26,7 +26,6 @@
 #include <mach/mach.h>
 #include <mach/mach_time.h>
 
-#include <ostringstream>
 
 #ifndef NSEC_PER_SEC
 #define NSEC_PER_SEC 1000000000ULL