]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-dencoder: fix build with '--without-libaio'
authorYan, Zheng <zyan@redhat.com>
Sun, 31 Jan 2016 01:45:19 +0000 (09:45 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 18 Jul 2016 03:08:48 +0000 (11:08 +0800)
bluestore is not compiled with '--without-libaio'

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/test/encoding/types.h

index e39641111f09ed3491c6900c63b87429f24e68d9..f54804a1304d2e945edf4cf9447ecf7f25d2fb07 100644 (file)
@@ -115,7 +115,7 @@ TYPE(ObjectStore::Transaction)
 #include "os/filestore/SequencerPosition.h"
 TYPE(SequencerPosition)
 
-#if !defined(__FreeBSD__)
+#ifdef WITH_LIBAIO
 #include "os/bluestore/bluestore_types.h"
 TYPE(bluestore_cnode_t)
 TYPE(bluestore_compression_header_t)