Use C11 compiler: bjnp-io.h:106: error: redefinition of typedef 'printer_t' bjnp.h:132: error: previous declaration of 'printer_t' was here