Skip to content

Commit afb604c

Browse files
committed
Fix #include "minimp3_ex.h" before and after MINIMP3_IMPLEMENTATION
1 parent 50d2aaf commit afb604c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

minimp3_ex.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
This software is distributed without any warranty.
77
See <http://creativecommons.org/publicdomain/zero/1.0/>.
88
*/
9+
#include <stddef.h>
910
#include "minimp3.h"
1011

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

135137
static void mp3dec_skip_id3v1(const uint8_t *buf, size_t *pbuf_size)
136138
{

0 commit comments

Comments
 (0)