From 9110db05b57a21563f24feac2ad47c256b66532a Mon Sep 17 00:00:00 2001
From: Ludovic Rousseau <rousseau@debian.org>
Date: Tue, 17 Aug 2010 20:53:04 +0200
Subject: [PATCH] Do not add a path before libusb.h

The header file should be used as:
 #include <libusb.h>
without a directory name.
---
 examples/Makefile.am     |    2 +-
 examples/dpfp.c          |    2 +-
 examples/dpfp_threaded.c |    2 +-
 examples/lsusb.c         |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index 9535ea7..846af15 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir)/libusb
 noinst_PROGRAMS = lsusb
 
 lsusb_SOURCES = lsusb.c
diff --git a/examples/dpfp.c b/examples/dpfp.c
index af51e0f..7c5f4e4 100644
--- a/examples/dpfp.c
+++ b/examples/dpfp.c
@@ -27,7 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <libusb/libusb.h>
+#include <libusb.h>
 
 #define EP_INTR			(1 | LIBUSB_ENDPOINT_IN)
 #define EP_DATA			(2 | LIBUSB_ENDPOINT_IN)
diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c
index 4641a50..4c90e06 100644
--- a/examples/dpfp_threaded.c
+++ b/examples/dpfp_threaded.c
@@ -28,7 +28,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <libusb/libusb.h>
+#include <libusb.h>
 
 #define EP_INTR			(1 | LIBUSB_ENDPOINT_IN)
 #define EP_DATA			(2 | LIBUSB_ENDPOINT_IN)
diff --git a/examples/lsusb.c b/examples/lsusb.c
index 317adf0..6ab8917 100644
--- a/examples/lsusb.c
+++ b/examples/lsusb.c
@@ -20,7 +20,7 @@
 #include <stdio.h>
 #include <sys/types.h>
 
-#include <libusb/libusb.h>
+#include <libusb.h>
 
 static void print_devs(libusb_device **devs)
 {
-- 
1.7.1

