Permalink
Browse files

fixed: compile with --disable-optical-drive

  • Loading branch information...
bobo1on1
bobo1on1 committed Jan 29, 2011
1 parent 1a62b26 commit 8b2ad507b05c60ed2f4a9a47fa1a8db601fa5116
Showing with 5 additions and 1 deletion.
  1. +4 −1 xbmc/music/tags/MusicInfoTagLoaderCDDA.cpp
  2. +1 −0 xbmc/storage/MediaManager.h
@@ -27,9 +27,12 @@
#include "storage/MediaManager.h"
#include "utils/log.h"
-using namespace MEDIA_DETECT;
using namespace MUSIC_INFO;
+
+#ifdef HAS_DVD_DRIVE
+using namespace MEDIA_DETECT;
using namespace CDDB;
+#endif
CMusicInfoTagLoaderCDDA::CMusicInfoTagLoaderCDDA(void)
{
@@ -28,6 +28,7 @@
#include "URL.h"
#include "utils/Job.h"
#include "IStorageProvider.h"
+#include "threads/CriticalSection.h"
#ifdef HAS_DVD_DRIVE
using namespace MEDIA_DETECT;

0 comments on commit 8b2ad50

Please sign in to comment.