Skip to content

Commit

Permalink
Fix #include "minimp3_ex.h" before and after MINIMP3_IMPLEMENTATION
Browse files Browse the repository at this point in the history
  • Loading branch information
lieff committed Nov 30, 2021
1 parent 50d2aaf commit afb604c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minimp3_ex.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
This software is distributed without any warranty.
See <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#include <stddef.h>
#include "minimp3.h"

/* flags for mp3dec_ex_open_* functions */
Expand Down Expand Up @@ -131,6 +132,7 @@ int mp3dec_ex_open_w(mp3dec_ex_t *dec, const wchar_t *file_name, int flags);
#if defined(MINIMP3_IMPLEMENTATION) && !defined(_MINIMP3_EX_IMPLEMENTATION_GUARD)
#define _MINIMP3_EX_IMPLEMENTATION_GUARD
#include <limits.h>
#include "minimp3.h"

static void mp3dec_skip_id3v1(const uint8_t *buf, size_t *pbuf_size)
{
Expand Down

0 comments on commit afb604c

Please sign in to comment.