summaryrefslogtreecommitdiff
path: root/Sprinter/Sd2Card.cpp
diff options
context:
space:
mode:
authorChangwoo Ryu <cwryu@debian.org>2012-05-21 02:11:00 +0900
committerChangwoo Ryu <cwryu@debian.org>2012-05-21 02:11:00 +0900
commita295b6147eececb124f785d234602e4e7fd69ca3 (patch)
treef8a88ddd69a59abbd5adb24a8ca8e154a627f2c2 /Sprinter/Sd2Card.cpp
parentc17bbb3296e562c48d2f8182c1b0e1669299d0ad (diff)
Arduino 1.0 build
Diffstat (limited to 'Sprinter/Sd2Card.cpp')
-rw-r--r--Sprinter/Sd2Card.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Sprinter/Sd2Card.cpp b/Sprinter/Sd2Card.cpp
index 8222cfd..05832e7 100644
--- a/Sprinter/Sd2Card.cpp
+++ b/Sprinter/Sd2Card.cpp
@@ -17,7 +17,11 @@
* along with the Arduino Sd2Card Library. If not, see
* <http://www.gnu.org/licenses/>.
*/
+#if defined(ARDUINO) && ARDUINO >= 100
+#include <Arduino.h>
+#else
#include <WProgram.h>
+#endif
#include "Sd2Card.h"
//------------------------------------------------------------------------------
#ifndef SOFTWARE_SPI