diff --git a/src/ui/mainwindow.h b/src/ui/mainwindow.h index a03509e23..a3a87c631 100644 --- a/src/ui/mainwindow.h +++ b/src/ui/mainwindow.h @@ -298,7 +298,9 @@ class MainWindow : public QMainWindow, public PlatformInterface { GlobalSearchView* global_search_view_; LibraryViewContainer* library_view_; FileView* file_view_; - boost::scoped_ptr rip_cd_; + #ifdef HAVE_AUDIOCD + boost::scoped_ptr rip_cd_; + #endif PlaylistListContainer* playlist_list_; InternetViewContainer* internet_view_; DeviceViewContainer* device_view_container_;