mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Don't include sqlite3.h from headers
So that sqlite is not part of the public interface of csync (and that the sqlite include path don't need to be passed when compiling libsync or gui)
This commit is contained in:
parent
f326bf371d
commit
776bbbf7b1
@ -26,6 +26,7 @@
|
||||
#include "ownsql.h"
|
||||
#include "common/utility.h"
|
||||
#include "common/asserts.h"
|
||||
#include <sqlite3.h>
|
||||
|
||||
#define SQLITE_SLEEP_TIME_USEC 100000
|
||||
#define SQLITE_REPEAT_COUNT 20
|
||||
|
||||
@ -19,13 +19,14 @@
|
||||
#ifndef OWNSQL_H
|
||||
#define OWNSQL_H
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
#include "ocsynclib.h"
|
||||
|
||||
struct sqlite3;
|
||||
struct sqlite3_stmt;
|
||||
|
||||
namespace OCC {
|
||||
|
||||
/**
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include <QElapsedTimer>
|
||||
#include <QUrl>
|
||||
#include <QDir>
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include "common/syncjournaldb.h"
|
||||
#include "version.h"
|
||||
|
||||
@ -36,7 +36,6 @@
|
||||
#include <QHash>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <sqlite3.h>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <functional>
|
||||
|
||||
@ -48,8 +48,6 @@
|
||||
|
||||
#include <QClipboard>
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include <QStandardPaths>
|
||||
|
||||
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#include "csync_update.cpp"
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include "torture.h"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user