blob: 05ec92f3c503d6372beb6115e47da0b9a33b89a5 [file] [log] [blame]
From 7671108aa8d02658cd35cacf4337507cc80ea03a Mon Sep 17 00:00:00 2001
From: John Maguire <john.maguire@gmail.com>
Date: Thu, 6 Feb 2014 19:46:08 +0100
Subject: [PATCH] Add missing include for symlink()
---
src/internet/spotifyblobdownloader.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/internet/spotifyblobdownloader.cpp b/src/internet/spotifyblobdownloader.cpp
index 9827d65..5bd12a0 100644
--- a/src/internet/spotifyblobdownloader.cpp
+++ b/src/internet/spotifyblobdownloader.cpp
@@ -15,8 +15,9 @@
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
*/
-#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 <QtCrypto>
#endif // HAVE_QCA
+#ifdef Q_OS_UNIX
+ #include <unistd.h>
+#endif
+
const char* SpotifyBlobDownloader::kSignatureSuffix = ".sha1";
--
1.8.5.5