diff options
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index f70dcea16..819ac4675 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -56,6 +56,12 @@ #include <string.h> #endif +#ifdef HAVE_SYS_POLL_H +#include <sys/poll.h> +#else +#include "asterisk/poll-compat.h" +#endif + #if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC) int asprintf(char **str, const char *fmt, ...); #endif |