summaryrefslogtreecommitdiff
path: root/Sprinter/Sd2Card.cpp
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2012-10-14 12:05:58 -0700
committerkliment <kliment.yanev@gmail.com>2012-10-14 12:05:58 -0700
commitde2feb0caccf05b0e70a9deaac462f8023f9a635 (patch)
treef36750cbd87fac2e6be1377c6f460e54170678e7 /Sprinter/Sd2Card.cpp
parent1db03fa315d0db499fb68f745e96d67c83264192 (diff)
parent1f11008dc856d50c730f09e63dae1d69daba6e6f (diff)
Merge pull request #206 from kliment/experimental
Merge experimental into master
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