summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/sansapatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.c')
-rw-r--r--rbutil/sansapatcher/sansapatcher.c2
1 files changed, 1 insertions, 1 deletions
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;