1
0
Fork 0
forked from len0rd/rockbox

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>
This commit is contained in:
Kevin Zheng 2013-10-17 20:35:48 -05:00 committed by Frank Gevaerts
parent 6845f6c396
commit 4626b1770b
3 changed files with 6 additions and 0 deletions

View file

@ -21,6 +21,8 @@
****************************************************************************/ ****************************************************************************/
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h>
#include "codeclib.h" #include "codeclib.h"
CODEC_ENC_HEADER CODEC_ENC_HEADER

View file

@ -34,6 +34,8 @@
// Library General Public License for more details. // Library General Public License for more details.
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h>
#include "codeclib.h" #include "codeclib.h"
CODEC_ENC_HEADER CODEC_ENC_HEADER

View file

@ -21,6 +21,8 @@
****************************************************************************/ ****************************************************************************/
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h>
#include "codeclib.h" #include "codeclib.h"
CODEC_ENC_HEADER CODEC_ENC_HEADER