$OpenBSD: patch-libfprint_fp_internal_h,v 1.3 2012/02/22 09:30:20 dcoppa Exp $ --- libfprint/fp_internal.h.orig Fri Apr 8 16:35:37 2011 +++ libfprint/fp_internal.h Fri Nov 18 17:05:08 2011 @@ -93,6 +93,18 @@ enum fp_dev_state { struct fp_driver **fprint_get_drivers (void); +#if !defined(ENODATA) && defined(ENOENT) +#define ENODATA ENOENT +#endif + +#if !defined(EPROTO) && defined(ENOPROTOOPT) +#define EPROTO ENOPROTOOPT +#endif + +#if !defined(ETIME) && defined(ETIMEDOUT) +#define ETIME ETIMEDOUT +#endif + struct fp_dev { struct fp_driver *drv; libusb_device_handle *udev;