From 50a6ca39ad4ed01922aa4f755f0ca579788226cf Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 6 May 2010 21:04:40 +0000 Subject: Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/audio.h | 2 +- firmware/export/config/sim.h | 2 ++ firmware/export/pcm.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/audio.h b/firmware/export/audio.h index 6833761652..1e09081ba5 100644 --- a/firmware/export/audio.h +++ b/firmware/export/audio.h @@ -22,7 +22,7 @@ #define AUDIO_H #include -#include +#include /* size_t */ #include "config.h" /* These must always be included with audio.h for this to compile under cetain conditions. Do it here or else spread the complication around to diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h index 56c3e18229..5b42394b1f 100644 --- a/firmware/export/config/sim.h +++ b/firmware/export/config/sim.h @@ -95,3 +95,5 @@ /* default for 100% in the sim */ #define DEFAULT_BRIGHTNESS_SETTING MAX_BRIGHTNESS_SETTING #endif + +#define _ISOC99_SOURCE 1 diff --git a/firmware/export/pcm.h b/firmware/export/pcm.h index e67d459693..0f8222f90d 100644 --- a/firmware/export/pcm.h +++ b/firmware/export/pcm.h @@ -21,7 +21,7 @@ #ifndef PCM_PLAYBACK_H #define PCM_PLAYBACK_H -#include +#include /* size_t */ #define DMA_REC_ERROR_DMA (-1) #ifdef HAVE_SPDIF_REC -- cgit v1.2.3