mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 10:34:18 +00:00
9e492717f4
Should fix the new kFreeBSD FTBFS.
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
Description: Use non-versionned libusb.h path
|
|
Reference: http://thread.gmane.org/gmane.comp.lib.libusb.devel.general/11611
|
|
.
|
|
Hopefully fixes the kFreeBSD FTBFS.
|
|
Author: Didier Raboud <odyx@debian.org>
|
|
Last-Update: 2013-03-03
|
|
--- a/libfprint/drivers/vfs301.c
|
|
+++ b/libfprint/drivers/vfs301.c
|
|
@@ -31,7 +31,7 @@
|
|
#include <stdio.h>
|
|
#include <assert.h>
|
|
#include <stdlib.h>
|
|
-#include <libusb-1.0/libusb.h>
|
|
+#include <libusb.h>
|
|
|
|
#include "vfs301_proto.h"
|
|
#include <unistd.h>
|
|
--- a/libfprint/drivers/vfs301_proto.c
|
|
+++ b/libfprint/drivers/vfs301_proto.c
|
|
@@ -33,7 +33,7 @@
|
|
#include <stdio.h>
|
|
#include <assert.h>
|
|
#include <stdlib.h>
|
|
-#include <libusb-1.0/libusb.h>
|
|
+#include <libusb.h>
|
|
|
|
#include "vfs301_proto.h"
|
|
#include "vfs301_proto_fragments.h"
|
|
--- a/libfprint/drivers/vfs301_proto.h
|
|
+++ b/libfprint/drivers/vfs301_proto.h
|
|
@@ -18,7 +18,7 @@
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
-#include <libusb-1.0/libusb.h>
|
|
+#include <libusb.h>
|
|
|
|
enum {
|
|
VFS301_DEFAULT_WAIT_TIMEOUT = 300,
|