diff --git a/src/internet/spotifyblobdownloader.cpp b/src/internet/spotifyblobdownloader.cpp
index 9827d6557..5bd12a057 100644
--- a/src/internet/spotifyblobdownloader.cpp
+++ b/src/internet/spotifyblobdownloader.cpp
@@ -15,8 +15,9 @@
along with Clementine. If not, see .
*/
-#include "config.h"
#include "spotifyblobdownloader.h"
+
+#include "config.h"
#include "spotifyservice.h"
#include "core/logging.h"
#include "core/network.h"
@@ -32,6 +33,10 @@
#include
#endif // HAVE_QCA
+#ifdef Q_OS_UNIX
+ #include
+#endif
+
const char* SpotifyBlobDownloader::kSignatureSuffix = ".sha1";