From 973436a09b40ec06c5f2c44944b1081d33e3b482 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 8 Jun 2012 20:01:23 +0200 Subject: [PATCH] * Fixed Source for headless. --- src/libtomahawk/Source.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/Source.cpp b/src/libtomahawk/Source.cpp index db331385f..1d781fb8f 100644 --- a/src/libtomahawk/Source.cpp +++ b/src/libtomahawk/Source.cpp @@ -34,11 +34,15 @@ #include #include -#include "utils/Logger.h" -#include "utils/TomahawkUtilsGui.h" #include "utils/TomahawkCache.h" #include "database/DatabaseCommand_SocialAction.h" +#ifndef ENABLE_HEADLESS + #include "utils/TomahawkUtilsGui.h" +#endif + +#include "utils/Logger.h" + using namespace Tomahawk;