aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/USBInterrupt.h')
-rw-r--r--LUFA/Drivers/USB/HighLevel/USBInterrupt.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/USBInterrupt.h b/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
index 6ff7c70fa..94f88e278 100644
--- a/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
+++ b/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
@@ -32,8 +32,14 @@
#define __USBINTERRUPT_H__
/* Includes: */
- #include <avr/io.h>
- #include <stdbool.h>
+ #if defined(__AVR32__)
+ #include <avr32/io.h>
+ #include <stdbool.h>
+ #include <stdint.h>
+ #elif defined(__AVR__)
+ #include <avr/io.h>
+ #include <stdbool.h>
+ #endif
#include "../../../Common/Common.h"
#include "../LowLevel/LowLevel.h"