as bsdfan666 said u_char is defined in /usr/include/sys/types.h so if you want to use u_char datatype then you need to add #include <sys/types.h> to your program.
sys/types.h defines many system data types to hide the implementation details from the programmer.
btw, why not just use unsigned char?
|