Log Message: Don't use u_char when uint8_t are meant. Don't mess with __attribute__, conditionally use it in the only place it is used. This should fix problems on QNX reported by Sean Boudreau.