From 9c26e2369e2746d2659519068e4546920547030b Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 28 Jan 2012 17:56:56 +0900 Subject: [PATCH] Arduino 1.0 - GPS_IMU - small fix to make it compile. Does anyone use this lib?! --- libraries/GPS_IMU/GPS_IMU.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/GPS_IMU/GPS_IMU.cpp b/libraries/GPS_IMU/GPS_IMU.cpp index e6975ccdc2..62ef39b968 100755 --- a/libraries/GPS_IMU/GPS_IMU.cpp +++ b/libraries/GPS_IMU/GPS_IMU.cpp @@ -4,7 +4,11 @@ #include "GPS_IMU.h" #include -#include "WProgram.h" +#if defined(ARDUINO) && ARDUINO >= 100 + #include "Arduino.h" +#else + #include "WProgram.h" +#endif // Constructors ////////////////////////////////////////////////////////////////