From 0658dce706b19c1fd15e29e71a8de5eb7e85bf42 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 3 May 2007 21:05:24 +0000 Subject: Make rbutil compile on Mac OS X git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13316 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/sansapatcher/main.c | 2 ++ rbutil/sansapatcher/sansapatcher.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'rbutil/sansapatcher') diff --git a/rbutil/sansapatcher/main.c b/rbutil/sansapatcher/main.c index f8b8723300..4f2a5fe226 100644 --- a/rbutil/sansapatcher/main.c +++ b/rbutil/sansapatcher/main.c @@ -32,6 +32,8 @@ #define VERSION "0.2 with r12896 bootloader" +unsigned char* sectorbuf; + int verbose = 0; enum { diff --git a/rbutil/sansapatcher/sansapatcher.c b/rbutil/sansapatcher/sansapatcher.c index 310f312052..3f25762a14 100644 --- a/rbutil/sansapatcher/sansapatcher.c +++ b/rbutil/sansapatcher/sansapatcher.c @@ -42,7 +42,7 @@ extern int verbose; and initialise it with sansa_alloc_buf() in main(). */ -unsigned char* sectorbuf; +extern unsigned char* sectorbuf; static off_t filesize(int fd) { struct stat buf; -- cgit