aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-08-17 21:50:41 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2010-08-17 21:50:41 +0000
commit1f9520e226a1943d81ed7fd1f54ccd614a6b7204 (patch)
tree5515e1782d904bddf1745dead5a75e677c3bfd94
parent6b6d46c3e1fa2c05aee87d84c197ea620efb7370 (diff)
Now including stdlib.h from wiring.h so our abs() #define comes after the stdlib abs() definition (and therefore doesn't break it).
-rwxr-xr-xcores/arduino/wiring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h
index 6f61293..0118618 100755
--- a/cores/arduino/wiring.h
+++ b/cores/arduino/wiring.h
@@ -26,6 +26,7 @@
#define Wiring_h
#include <avr/io.h>
+#include <stdlib.h>
#include "binary.h"
#ifdef __cplusplus