ERROR: 'u8' was not declared in this scope

I’m using <espnow.h> library but when I built code, i had error

Some header funtion in library
How I can fix this?
Thank you.

You need to #include <Arduino.h> first to get the definitions for u8 etc because the espnow.h doesn’t do that (which is a fault, lazy developers).

Thank you verry much!