Commit 5533610a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Include config.h from source files

parent 07e862a7
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <algorithm> #include <algorithm>
#include "Album.h" #include "Album.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "AlbumTrack.h" #include "AlbumTrack.h"
#include "Album.h" #include "Album.h"
#include "Artist.h" #include "Artist.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Artist.h" #include "Artist.h"
#include "Album.h" #include "Album.h"
#include "AlbumTrack.h" #include "AlbumTrack.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "AudioTrack.h" #include "AudioTrack.h"
#include "Media.h" #include "Media.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Device.h" #include "Device.h"
namespace medialibrary namespace medialibrary
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "MediaLibrary.h" #include "MediaLibrary.h"
extern "C" medialibrary::IMediaLibrary* NewMediaLibrary() extern "C" medialibrary::IMediaLibrary* NewMediaLibrary()
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "File.h" #include "File.h"
#include "Media.h" #include "Media.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "File.h" #include "File.h"
#include "Folder.h" #include "Folder.h"
#include "Device.h" #include "Device.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Genre.h" #include "Genre.h"
#include "Album.h" #include "Album.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "History.h" #include "History.h"
#include "database/SqliteTools.h" #include "database/SqliteTools.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <cassert> #include <cassert>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <cstdlib> #include <cstdlib>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Movie.h" #include "Movie.h"
#include "Media.h" #include "Media.h"
#include "database/SqliteTools.h" #include "database/SqliteTools.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Playlist.h" #include "Playlist.h"
#include "Media.h" #include "Media.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Settings.h" #include "Settings.h"
#include "database/SqliteTools.h" #include "database/SqliteTools.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Show.h" #include "Show.h"
#include "Media.h" #include "Media.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "ShowEpisode.h" #include "ShowEpisode.h"
#include "database/SqliteTools.h" #include "database/SqliteTools.h"
#include "Show.h" #include "Show.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "VideoTrack.h" #include "VideoTrack.h"
#include "Media.h" #include "Media.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "SqliteConnection.h" #include "SqliteConnection.h"
#include "database/SqliteTools.h" #include "database/SqliteTools.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "SqliteTools.h" #include "SqliteTools.h"
namespace medialibrary namespace medialibrary
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "SqliteTransaction.h" #include "SqliteTransaction.h"
#include "SqliteTools.h" #include "SqliteTools.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "DiscovererWorker.h" #include "DiscovererWorker.h"
#include "logging/Logger.h" #include "logging/Logger.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "FsDiscoverer.h" #include "FsDiscoverer.h"
#include <algorithm> #include <algorithm>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "DeviceListerFactory.h" #include "DeviceListerFactory.h"
#if defined(__linux__) && !defined(__ANDROID__) #if defined(__linux__) && !defined(__ANDROID__)
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "factory/FileSystemFactory.h" #include "factory/FileSystemFactory.h"
#include "filesystem/IDirectory.h" #include "filesystem/IDirectory.h"
#include "filesystem/IFile.h" #include "filesystem/IFile.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "CommonFile.h" #include "CommonFile.h"
#include "utils/Filename.h" #include "utils/Filename.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Device.h" #include "Device.h"
#include "Directory.h" #include "Directory.h"
#include "logging/Logger.h" #include "logging/Logger.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Directory.h" #include "Directory.h"
#include "Media.h" #include "Media.h"
#include "Device.h" #include "Device.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "File.h" #include "File.h"
#include <stdexcept> #include <stdexcept>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Directory.h" #include "Directory.h"
#include <sys/types.h> #include <sys/types.h>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "File.h" #include "File.h"
#include <sys/types.h> #include <sys/types.h>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Logger.h" #include "Logger.h"
#include "logging/IostreamLogger.h" #include "logging/IostreamLogger.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "MetadataParser.h" #include "MetadataParser.h"
#include "Album.h" #include "Album.h"
#include "AlbumTrack.h" #include "AlbumTrack.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <chrono> #include <chrono>
#ifdef __ANDROID__ #ifdef __ANDROID__
# include <cstdlib> # include <cstdlib>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "EvasCompressor.h" #include "EvasCompressor.h"
#include <Evas_Engine_Buffer.h> #include <Evas_Engine_Buffer.h>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "Parser.h" #include "Parser.h"
#include <algorithm> #include <algorithm>
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "ParserService.h" #include "ParserService.h"
#include "Parser.h" #include "Parser.h"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@