Thanks for editing the opening post..
Your compiles (after adding the include) if you select the correct board in the tools menu. I don't have boards that support HID but just picked a Leonardo and it compiled. Hence the question in my previous post which board you are using.
IDE 1.6.6 in case it is relevant.