summaryrefslogtreecommitdiff
path: root/libusb/os/poll_posix.h
blob: 0e9981d3ccfeba9c0cf16bd3dddf3acce88dd788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __LIBUSB_UNISTD_POSIX_H__
#define __LIBUSB_UNISTD_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_UNISTD_POSIX_H__ */