Skip to content

Commit

Permalink
[MusicInfoTagLoaderCDDA] Fix missing cstdlib include for atoi
Browse files Browse the repository at this point in the history
In member function 'virtual bool MUSIC_INFO::CMusicInfoTagLoaderCDDA::Load(const string&, MUSIC_INFO::CMusicInfoTag&, MUSIC_INFO::EmbeddedArt*)':
/home/jenkins/workspace/Android-ARM/xbmc/music/tags/MusicInfoTagLoaderCDDA.cpp:67:82:
error: 'atoi' was not declared in this scope
     int iTrack = atoi(strFileName.substr(13, strFileName.size() - 13 - 5).c_str());
  • Loading branch information
fetzerch committed Sep 5, 2016
1 parent 4ede784 commit a0acdaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/music/tags/MusicInfoTagLoaderCDDA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "storage/MediaManager.h"
#include "utils/log.h"

#include <cstdlib>

using namespace MUSIC_INFO;

#ifdef HAS_DVD_DRIVE
Expand Down

0 comments on commit a0acdaf

Please sign in to comment.