Misc: Trim and consolidate header file usage
[platform/upstream/libusb.git] / libusb / os / poll_posix.h
1 #ifndef LIBUSB_POLL_POSIX_H
2 #define LIBUSB_POLL_POSIX_H
3
4 #include <poll.h>
5 #include <unistd.h>
6
7 #define usbi_write      write
8 #define usbi_read       read
9 #define usbi_close      close
10 #define usbi_poll       poll
11
12 int usbi_pipe(int pipefd[2]);
13
14 #endif /* LIBUSB_POLL_POSIX_H */