Start porting the USB core to the AVR32 UC3B.
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / StdDescriptors.h
index 807eb78..f94673d 100644 (file)
 #define __USBDESCRIPTORS_H__\r
 \r
        /* Includes: */\r
-               #include <avr/pgmspace.h>\r
-               #include <stdbool.h>\r
-               #include <stddef.h>\r
+               #if defined(__AVR32__)\r
+                       #include <avr32/io.h>\r
+                       #include <stdint.h>\r
+                       #include <stdbool.h>\r
+                       #include <stddef.h>\r
+               #elif defined(__AVR__)\r
+                       #include <avr/pgmspace.h>\r
+                       #include <stdbool.h>\r
+                       #include <stddef.h>\r
+               #endif\r
 \r
                #include "../../../Common/Common.h"\r
                #include "USBMode.h"\r