diff options
author | Kevin Zheng <kevinz5000@gmail.com> | 2013-10-17 20:35:48 -0500 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2013-10-20 16:52:46 +0200 |
commit | 4626b1770be80878a1f8085df08838bbadf1a167 (patch) | |
tree | 71d5b194a79f713006c9d327cf91f7ba3f08a70d /lib/rbcodec/codecs/wav_enc.c | |
parent | 6845f6c3969f44275a4255d6d4251660dc735dd1 (diff) |
Add missing #include statements.
Although Linux accepts several implicit definitions of SEEK_END found in
stdio.h, the compiler on FreeBSD won't. Rockbox compilation will fail
without stdio.h included.
There is a precedent for including this header, see
lib/rbcodec/codecs/libtremor/ivorbisfile.h.
Change-Id: I58510101b59a354cd6601cb3f323f385a824d2e8
Reviewed-on: http://gerrit.rockbox.org/639
Tested-by: Kevin Zheng <kevinz5000@gmail.com>
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
Diffstat (limited to 'lib/rbcodec/codecs/wav_enc.c')
-rw-r--r-- | lib/rbcodec/codecs/wav_enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/wav_enc.c b/lib/rbcodec/codecs/wav_enc.c index 71bb652374..93bb9aa8ac 100644 --- a/lib/rbcodec/codecs/wav_enc.c +++ b/lib/rbcodec/codecs/wav_enc.c @@ -21,6 +21,8 @@ ****************************************************************************/ #include <inttypes.h> +#include <stdio.h> + #include "codeclib.h" CODEC_ENC_HEADER |