diff -cr cups-bjnp-1.1/bjnp-protocol.h /var/tmp/portage/net-print/cups-bjnp-1.1/work/cups-bjnp-1.1/bjnp-protocol.h *** cups-bjnp-1.1/bjnp-protocol.h 2012-09-26 00:06:57.000000000 +0200 --- /var/tmp/portage/net-print/cups-bjnp-1.1/work/cups-bjnp-1.1/bjnp-protocol.h 2012-11-10 15:18:34.655199111 +0100 *************** *** 64,70 **** /* command definition */ ! typedef union __attribute__ ((__packed__)) bjnp_command_u { struct bjnp_header header; struct __attribute__ ((__packed__)) --- 64,70 ---- /* command definition */ ! union __attribute__ ((__packed__)) bjnp_command_u { struct bjnp_header header; struct __attribute__ ((__packed__)) *************** *** 97,105 **** { struct bjnp_header header; } udp_get_id; ! } bjnp_command_t; ! typedef union __attribute__ ((__packed__)) bjnp_response_u { struct bjnp_header header; struct __attribute__ ((__packed__)) --- 97,105 ---- { struct bjnp_header header; } udp_get_id; ! }; ! union __attribute__ ((__packed__)) bjnp_response_u { struct bjnp_header header; struct __attribute__ ((__packed__)) *************** *** 154,160 **** char id[2048]; /* identity */ } udp_identity_response; char fillers[4096]; ! } bjnp_response_t; #define BST_PRINTING 0x80 #define BST_BUSY 0x20 --- 154,160 ---- char id[2048]; /* identity */ } udp_identity_response; char fillers[4096]; ! }; #define BST_PRINTING 0x80 #define BST_BUSY 0x20