summaryrefslogtreecommitdiff
path: root/libusb/os/poll_posix.h
blob: 17298a5fda9138492622165ef91c9aa4787fb258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __LIBUSB_POLL_POSIX_H__
#define __LIBUSB_POLL_POSIX_H__

#include <unistd.h>
#include <poll.h>
#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__ */