USBaspLoader v0.97 stable release
[pub/USBaspLoader.git] / firmware / usbdrv / usbportability.h
index a1ea93b..7fb99b0 100644 (file)
@@ -5,7 +5,6 @@
  * Tabsize: 4
  * Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH
  * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt)
- * This Revision: $Id$
  */
 
 /*
@@ -23,6 +22,7 @@ Thanks to Oleg Semyonov for his help with the IAR tools port!
 
 #ifndef __usbportability_h_INCLUDED__
 #define __usbportability_h_INCLUDED__
+#include "usbconfig.h"
 
 /* We check explicitly for IAR and CodeVision. Default is avr-gcc/avr-libc. */
 
@@ -118,7 +118,7 @@ static inline void  sei(void)
 #else   /* default development environment is avr-gcc/avr-libc */
 /* ------------------------------------------------------------------------- */
 
-#include <avr/io.h>
+#include "../../misc/iofixes.h"
 #ifdef __ASSEMBLER__
 #   define _VECTOR(N)   __vector_ ## N   /* io.h does not define this for asm */
 #else