--- src/library/trackcollection.h.orig	2017-09-05 13:52:28.293440706 +0200
+++ src/library/trackcollection.h	2017-09-05 13:52:56.925387795 +0200
@@ -34,8 +34,7 @@
 #include "library/dao/libraryhashdao.h"
 
 #ifdef __SQLITE3__
-typedef struct sqlite3_context sqlite3_context;
-typedef struct Mem sqlite3_value;
+#include <sqlite3.h>
 #endif
 
 class TrackInfoObject;
