aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/filesystem/CDDAFile.h7
-rw-r--r--xbmc/network/cddb.h6
-rw-r--r--xbmc/storage/cdioSupport.h6
3 files changed, 1 insertions, 18 deletions
diff --git a/xbmc/filesystem/CDDAFile.h b/xbmc/filesystem/CDDAFile.h
index a0b16bc576..9d689a869e 100644
--- a/xbmc/filesystem/CDDAFile.h
+++ b/xbmc/filesystem/CDDAFile.h
@@ -19,10 +19,6 @@
*
*/
-#include "system.h" // for HAS_DVD_DRIVE
-
-#ifdef HAS_DVD_DRIVE
-
#include "IFile.h"
#include "storage/cdioSupport.h"
@@ -57,6 +53,3 @@ protected:
std::shared_ptr<MEDIA_DETECT::CLibcdio> m_cdio;
};
}
-
-#endif
-
diff --git a/xbmc/network/cddb.h b/xbmc/network/cddb.h
index de8da75eca..3b7ff91227 100644
--- a/xbmc/network/cddb.h
+++ b/xbmc/network/cddb.h
@@ -19,10 +19,6 @@
*
*/
-#include "system.h" // for HAS_DVD_DRIVE
-
-#ifdef HAS_DVD_DRIVE
-
#include <string>
#include <sstream>
#include <iostream>
@@ -138,5 +134,3 @@ protected:
std::string cCacheDir;
};
}
-
-#endif
diff --git a/xbmc/storage/cdioSupport.h b/xbmc/storage/cdioSupport.h
index d2f831a52e..7712d7af68 100644
--- a/xbmc/storage/cdioSupport.h
+++ b/xbmc/storage/cdioSupport.h
@@ -27,9 +27,7 @@
#pragma once
-#include "system.h" // for HAS_DVD_DRIVE
-
-#ifdef HAS_DVD_DRIVE
+#include "system.h" // for ssize_t typedef
#include <cdio/cdio.h>
#include "threads/CriticalSection.h"
@@ -337,5 +335,3 @@ private:
};
}
-
-#endif \ No newline at end of file