diff options
Diffstat (limited to 'src/mypoll.h')
-rw-r--r-- | src/mypoll.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mypoll.h b/src/mypoll.h index a336680..8736015 100644 --- a/src/mypoll.h +++ b/src/mypoll.h @@ -4,6 +4,7 @@ #include "config.h" #ifdef HAVE_POLL_H +#define SELECT_OR_POLL "poll" #include <poll.h> typedef struct pollfd pollfd_struct; @@ -13,6 +14,7 @@ typedef struct pollfd pollfd_struct; #else +#define SELECT_OR_POLL "select" #include <sys/select.h> typedef struct mypollfd { int fd; |