$OpenBSD: patch-drivers_riello_usb_c,v 1.1 2014/01/07 21:55:54 sthen Exp $
--- drivers/riello_usb.c.orig	Fri Nov 22 09:45:50 2013
+++ drivers/riello_usb.c	Fri Nov 22 09:46:07 2013
@@ -355,7 +355,9 @@ int riello_command(uint8_t *cmd, uint8_t *buf, uint16_
 
 	case -ETIMEDOUT:	/* Connection timed out */
 	case -EOVERFLOW:	/* Value too large for defined data type */
+#ifdef EPROTO
 	case -EPROTO:		/* Protocol error */
+#endif
 	default:
 		break;
 	}
