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/SdFatUtil.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Sprinter/SdFatUtil.h') diff --git a/Sprinter/SdFatUtil.h b/Sprinter/SdFatUtil.h index de3fee3..361a5a2 100644 --- a/Sprinter/SdFatUtil.h +++ b/Sprinter/SdFatUtil.h @@ -23,7 +23,11 @@ * \file * Useful utility functions. */ +#if defined(ARDUINO) && ARDUINO >= 100 +#include +#else #include +#endif #include /** Store and print a string in flash memory.*/ #define PgmPrint(x) SerialPrint_P(PSTR(x)) -- cgit v1.2.1