From 38e6eb86b2ceb301d67fd4754c5a1493f7911ece Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 12 Oct 2012 23:28:51 +0200 Subject: [PATCH] All: Use "" instead of <> for local includes System header files are used with #include Xcode can't find local headers using this syntax. --- examples/dpfp.c | 2 +- examples/dpfp_threaded.c | 2 +- examples/ezusb.c | 2 +- examples/fxload.c | 2 +- examples/listdevs.c | 2 +- libusb/libusbi.h | 4 ++-- libusb/version_nano.h | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/dpfp.c b/examples/dpfp.c index ff98b5d..3f41e0e 100644 --- a/examples/dpfp.c +++ b/examples/dpfp.c @@ -27,7 +27,7 @@ #include #include -#include +#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 c8cbb28..6970dac 100644 --- a/examples/dpfp_threaded.c +++ b/examples/dpfp_threaded.c @@ -28,7 +28,7 @@ #include #include -#include +#include "libusb.h" #define EP_INTR (1 | LIBUSB_ENDPOINT_IN) #define EP_DATA (2 | LIBUSB_ENDPOINT_IN) diff --git a/examples/ezusb.c b/examples/ezusb.c index ce0eb83..4451816 100644 --- a/examples/ezusb.c +++ b/examples/ezusb.c @@ -25,7 +25,7 @@ #include #include -#include +#include "libusb.h" #include "ezusb.h" extern void logerror(const char *format, ...) diff --git a/examples/fxload.c b/examples/fxload.c index 31c090b..93f9fb9 100644 --- a/examples/fxload.c +++ b/examples/fxload.c @@ -38,7 +38,7 @@ #include #include -#include +#include "libusb.h" #include "ezusb.h" #if !defined(_WIN32) || defined(__CYGWIN__ ) diff --git a/examples/listdevs.c b/examples/listdevs.c index f47e87c..9f7e04e 100644 --- a/examples/listdevs.c +++ b/examples/listdevs.c @@ -20,7 +20,7 @@ #include #include -#include +#include "libusb.h" static void print_devs(libusb_device **devs) { diff --git a/libusb/libusbi.h b/libusb/libusbi.h index 5ec0761..5e36c28 100644 --- a/libusb/libusbi.h +++ b/libusb/libusbi.h @@ -194,14 +194,14 @@ static inline void usbi_dbg(const char *format, ...) /* Internal abstractions for thread synchronization and poll */ #if defined(THREADS_POSIX) -#include +#include "os/threads_posix.h" #elif defined(OS_WINDOWS) #include #endif #if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_OPENBSD) #include -#include +#include "os/poll_posix.h" #elif defined(OS_WINDOWS) #include #endif diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 7cb278e..0560207 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10577 +#define LIBUSB_NANO 10578 -- 2.7.4