From 8047f65815bbafa7a9d10aab4a6931f318c9aacc Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 11 May 2013 17:05:22 +0200 Subject: [PATCH] flashtool: fix build on Tripledragon --- src/system/flashtool.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/system/flashtool.cpp b/src/system/flashtool.cpp index 13f4a4580..395b5a411 100644 --- a/src/system/flashtool.cpp +++ b/src/system/flashtool.cpp @@ -38,6 +38,10 @@ #include +#if HAVE_TRIPLEDRAGON +/* TD kernel 2.6.12 is too old and does not have writesize yet, use oobsize instead */ +#define writesize oobsize +#endif CFlashTool::CFlashTool() {