mgr: do not require sqlite3.h if WITH_LIBCEPHSQLITE=OFF

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
Greg Farnum 2021-04-13 04:12:11 +00:00
parent f9e1c6bc23
commit b1e78c4177

View File

@ -13,8 +13,6 @@
#include <Python.h>
#include <sqlite3.h>
#include "osdc/Objecter.h"
#include "client/Client.h"
#include "common/errno.h"
@ -24,6 +22,7 @@
#include "global/signal_handler.h"
#ifdef WITH_LIBCEPHSQLITE
# include <sqlite3.h>
# include "include/libcephsqlite.h"
#endif