Skip to content

Commit

Permalink
Fix gcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
meshula authored and ddiakopoulos committed Jan 17, 2019
1 parent ba979ac commit 7aa6d40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mp3Decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ using namespace nqr;
#include "minimp3/minimp3.h"
#include "minimp3/minimp3_ex.h"

#include <cstring>

void mp3_decode_internal(AudioData * d, const std::vector<uint8_t> & fileData)
{
mp3dec_t mp3d;
Expand Down
2 changes: 2 additions & 0 deletions src/VorbisDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "Decoders.h"
#include "libvorbis/include/vorbis/vorbisfile.h"

#include <string.h>

using namespace nqr;

class VorbisDecoderInternal
Expand Down
1 change: 1 addition & 0 deletions src/WavPackDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "Decoders.h"
#include "wavpack.h"
#include <string.h>
#include <cstring>

using namespace nqr;

Expand Down

0 comments on commit 7aa6d40

Please sign in to comment.