]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/TOSBoot/micaz/avrhardware.h
revert to old cc1000 stack
[tinyos-2.x.git] / tos / lib / TOSBoot / micaz / avrhardware.h
index 4263d56b655ec77cc1d9aeaedd06fd4704201a23..15a3e87d675b7fe1397454ab35f3c16f1c9959fb 100644 (file)
 
 #ifdef TOSH_NEW_AVRLIBC
 #include <avr/io.h>
-#include <avr/signal.h>
+#if __AVR_LIBC_VERSION__ >= 10400UL
+#include <avr/interrupt.h>
+#else
 #include <avr/interrupt.h>
+#include <avr/signal.h>
+#endif
 #include <avr/wdt.h>
 #include <avr/pgmspace.h>
 #include <avr/eeprom.h>