All: Use "" instead of <> for local includes
System header files are used with #include <foo.h> Xcode can't find local headers using this syntax.
This commit is contained in:
parent
09759d5836
commit
38e6eb86b2
7 changed files with 8 additions and 8 deletions
|
@ -27,7 +27,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <libusb.h>
|
#include "libusb.h"
|
||||||
|
|
||||||
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
|
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
|
||||||
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
|
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <libusb.h>
|
#include "libusb.h"
|
||||||
|
|
||||||
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
|
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
|
||||||
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
|
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <libusb.h>
|
#include "libusb.h"
|
||||||
#include "ezusb.h"
|
#include "ezusb.h"
|
||||||
|
|
||||||
extern void logerror(const char *format, ...)
|
extern void logerror(const char *format, ...)
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
#include <libusb.h>
|
#include "libusb.h"
|
||||||
#include "ezusb.h"
|
#include "ezusb.h"
|
||||||
|
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__ )
|
#if !defined(_WIN32) || defined(__CYGWIN__ )
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <libusb.h>
|
#include "libusb.h"
|
||||||
|
|
||||||
static void print_devs(libusb_device **devs)
|
static void print_devs(libusb_device **devs)
|
||||||
{
|
{
|
||||||
|
|
|
@ -194,14 +194,14 @@ static inline void usbi_dbg(const char *format, ...)
|
||||||
|
|
||||||
/* Internal abstractions for thread synchronization and poll */
|
/* Internal abstractions for thread synchronization and poll */
|
||||||
#if defined(THREADS_POSIX)
|
#if defined(THREADS_POSIX)
|
||||||
#include <os/threads_posix.h>
|
#include "os/threads_posix.h"
|
||||||
#elif defined(OS_WINDOWS)
|
#elif defined(OS_WINDOWS)
|
||||||
#include <os/threads_windows.h>
|
#include <os/threads_windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_OPENBSD)
|
#if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_OPENBSD)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <os/poll_posix.h>
|
#include "os/poll_posix.h"
|
||||||
#elif defined(OS_WINDOWS)
|
#elif defined(OS_WINDOWS)
|
||||||
#include <os/poll_windows.h>
|
#include <os/poll_windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define LIBUSB_NANO 10577
|
#define LIBUSB_NANO 10578
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue