Header file error please help

Hello,

I am trying to include the library digitalWriteFast. I have added the library to my library folder in my C drive and can include it in the sketch no problem. However when I go to verify my code I keep getting this issue

"Arduino: 1.6.5 (Windows 8.1), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from Test_Encoder_1.ino:1:0:
C:\Program Files (x86)\Arduino\libraries\digitalWriteFast/digitalWriteFast.h:6:20: fatal error: wiring.h: No such file or directory
#include <wiring.h>
^
compilation terminated.
Error compiling."

I have attached the full code and have checked that the error is directly related to that particular library.

Please let me know what I can do.

Thanks,

Cole Perrault

Test_Encoder_1.ino (3.8 KB)

Also if I #include "wiring.h" it gives me this error.

Arduino: 1.6.5 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Test_Encoder_1.ino:1:20: fatal error: wiring.h: No such file or directory compilation terminated. Error compiling.

Have you bothered searching? Change wiring.h to Arduino.h, unless you have a Wiring board.