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 | |
| parent | 6845f6c3969f44275a4255d6d4251660dc735dd1 (diff) | |
| download | rockbox-4626b1770be80878a1f8085df08838bbadf1a167.zip rockbox-4626b1770be80878a1f8085df08838bbadf1a167.tar.gz rockbox-4626b1770be80878a1f8085df08838bbadf1a167.tar.bz2 rockbox-4626b1770be80878a1f8085df08838bbadf1a167.tar.xz | |
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')
| -rw-r--r-- | lib/rbcodec/codecs/aiff_enc.c | 2 | ||||
| -rw-r--r-- | lib/rbcodec/codecs/mp3_enc.c | 2 | ||||
| -rw-r--r-- | lib/rbcodec/codecs/wav_enc.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/aiff_enc.c b/lib/rbcodec/codecs/aiff_enc.c index fb8db38..f199e70 100644 --- a/lib/rbcodec/codecs/aiff_enc.c +++ b/lib/rbcodec/codecs/aiff_enc.c @@ -21,6 +21,8 @@ ****************************************************************************/ #include <inttypes.h> +#include <stdio.h> + #include "codeclib.h" CODEC_ENC_HEADER diff --git a/lib/rbcodec/codecs/mp3_enc.c b/lib/rbcodec/codecs/mp3_enc.c index ebbd323..45bc389 100644 --- a/lib/rbcodec/codecs/mp3_enc.c +++ b/lib/rbcodec/codecs/mp3_enc.c @@ -34,6 +34,8 @@ // Library General Public License for more details. #include <inttypes.h> +#include <stdio.h> + #include "codeclib.h" CODEC_ENC_HEADER diff --git a/lib/rbcodec/codecs/wav_enc.c b/lib/rbcodec/codecs/wav_enc.c index 71bb652..93bb9aa 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 |