From a295b6147eececb124f785d234602e4e7fd69ca3 Mon Sep 17 00:00:00 2001 From: Changwoo Ryu Date: Mon, 21 May 2012 02:11:00 +0900 Subject: Arduino 1.0 build --- Sprinter/SdFile.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Sprinter/SdFile.cpp') diff --git a/Sprinter/SdFile.cpp b/Sprinter/SdFile.cpp index 13f4c6a..c847e01 100644 --- a/Sprinter/SdFile.cpp +++ b/Sprinter/SdFile.cpp @@ -19,7 +19,11 @@ */ #include "SdFat.h" #include +#if defined(ARDUINO) && ARDUINO >= 100 +#include +#else #include +#endif //------------------------------------------------------------------------------ // callback function for date/time void (*SdFile::dateTime_)(uint16_t* date, uint16_t* time) = NULL; -- cgit v1.2.1