summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-02-24 18:05:11 +0000
committerPete Batard <pbatard@gmail.com>2010-02-24 18:05:11 +0000
commit921572e90b90f349d523921fb2820797680ee6e8 (patch)
tree3bf755959ae0ce0c1b8172c0b9ccd7803a856b26
parente49877a0bf1c30e04d268711694ac522ff41d82a (diff)
downloadlibusb-r171.tar.gz
added unistd_posix.hr171
-rw-r--r--libusb/os/unistd_posix.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libusb/os/unistd_posix.h b/libusb/os/unistd_posix.h
new file mode 100644
index 0000000..1b3ba84
--- /dev/null
+++ b/libusb/os/unistd_posix.h
@@ -0,0 +1,12 @@
+#ifndef __LIBUSB_UNISTD_POSIX_H__
+#define __LIBUSB_UNISTD_POSIX_H__
+
+#include <unistd.h>
+#include <poll.h>
+#define _libusb_write write
+#define _libusb_read read
+#define _libusb_close close
+#define _libusb_pipe pipe
+#define _libusb_poll poll
+
+#endif /* __LIBUSB_UNISTD_POSIX_H__ */