summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-05-06 22:13:54 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-05-06 22:13:54 +0000
commitab4a16276306c7739d17f9abddc736ce45b58e7d (patch)
tree66549d4aaed59329d98be4b79c39b95aa5628a30
parent3e400b2ae60a2f21b1892bf29758f8913059f381 (diff)
downloadrockbox-ab4a16276306c7739d17f9abddc736ce45b58e7d.tar.gz
rockbox-ab4a16276306c7739d17f9abddc736ce45b58e7d.tar.bz2
rockbox-ab4a16276306c7739d17f9abddc736ce45b58e7d.zip
Fix gigabeat S includes so it builds again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25855 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--bootloader/gigabeat-s.c2
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c
index 9e6edbbcbb..7c429a9b65 100644
--- a/bootloader/gigabeat-s.c
+++ b/bootloader/gigabeat-s.c
@@ -20,7 +20,7 @@
****************************************************************************/
#include "config.h"
#include "system.h"
-#include <sprintf.h>
+#include <stdio.h>
#include "kernel.h"
#include "string.h"
#include "adc.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
index 5a0f81358d..9fd3b2f336 100644
--- a/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
@@ -18,6 +18,7 @@
* KIND, either express or implied.
*
****************************************************************************/
+#include <sys/types.h>
#include "inttypes.h"
#include "config.h"