$OpenBSD: patch-libgphoto2_port_libusb1_libusb1_c,v 1.1 2013/01/19 11:21:44 ajacoutot Exp $
--- libgphoto2_port/libusb1/libusb1.c.orig	Sat Jan 12 09:40:47 2013
+++ libgphoto2_port/libusb1/libusb1.c	Sat Jan 12 09:41:03 2013
@@ -35,6 +35,10 @@
 
 #include <libusb.h>
 
+#if !defined(ENODATA) && defined(ENOENT)
+#define ENODATA ENOENT
+#endif
+
 #include <gphoto2/gphoto2-port.h>
 #include <gphoto2/gphoto2-port-result.h>
 #include <gphoto2/gphoto2-port-log.h>
