Problem , "fatal error: avr/io.h: No such file or directory"


i am working with the Arduino Due, using Arduino 1.6.0 and i got this message while compiling

Someone know this problem? what i need to do?

Thank you, Assy

The Due doesn't use the AVR processor.

and i got this message while compiling

Compiling what?

this my code:

// avr-libc library includes

#include <avr/io.h>
#include <avr/interrupt.h>

#define LEDPIN 2
void setup()
    pinMode(LEDPIN, OUTPUT);
    // initialize Timer1
    cli();             // disable global interrupts
    TCCR1A = 0;        // set entire TCCR1A register to 0
    TCCR1B = 0;
    // enable Timer1 overflow interrupt:
    TIMSK1 = (1 << TOIE1);
    // Set CS10 bit so timer runs at clock speed:
    TCCR1B |= (1 << CS10);
    // enable global interrupts:

    digitalWrite(LEDPIN, !digitalRead(LEDPIN));

void loop() {

this is the Error message :
fatal error: avr/io.h: No such file or directory
compilation terminated.
Error compiling

Moderator edit: And there’s your code with CODE TAGS.

#include <avr/io.h>
#include <avr/interrupt.h>

Have you ever seen those directives in any other Due sketch?
Have you ever wondered why?

You right , can't do it with the Due board i changed it to Arduino Mega and everything OK.

Thank you :)