From d82a73f1180a5f201397b92e6f6db33411cbe686 Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Sat, 6 Nov 2010 18:09:53 -0400 Subject: updated libirecovery to the latest version from greenpois0n. it at least compiles on osx now, I need to test on other systems --- include/libusb-1.0/os/poll_posix.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/libusb-1.0/os/poll_posix.h (limited to 'include/libusb-1.0/os/poll_posix.h') diff --git a/include/libusb-1.0/os/poll_posix.h b/include/libusb-1.0/os/poll_posix.h new file mode 100644 index 0000000..17298a5 --- /dev/null +++ b/include/libusb-1.0/os/poll_posix.h @@ -0,0 +1,12 @@ +#ifndef __LIBUSB_POLL_POSIX_H__ +#define __LIBUSB_POLL_POSIX_H__ + +#include +#include +#define usbi_write write +#define usbi_read read +#define usbi_close close +#define usbi_pipe pipe +#define usbi_poll poll + +#endif /* __LIBUSB_POLL_POSIX_H__ */ -- cgit v1.1-32-gdbae