diff options
-rw-r--r-- | channels.c | 2 | ||||
-rw-r--r-- | clientloop.c | 2 | ||||
-rw-r--r-- | serverloop.c | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -57,7 +57,9 @@ #include <fcntl.h> #include <limits.h> #include <netdb.h> +#ifdef HAVE_POLL_H #include <poll.h> +#endif #include <stdarg.h> #ifdef HAVE_STDINT_H # include <stdint.h> diff --git a/clientloop.c b/clientloop.c index fd190980..f8350e67 100644 --- a/clientloop.c +++ b/clientloop.c @@ -76,7 +76,9 @@ #ifdef HAVE_PATHS_H #include <paths.h> #endif +#ifdef HAVE_POLL_H #include <poll.h> +#endif #include <signal.h> #include <stdio.h> #include <stdlib.h> diff --git a/serverloop.c b/serverloop.c index 15beac2d..0541f028 100644 --- a/serverloop.c +++ b/serverloop.c @@ -50,7 +50,9 @@ #include <fcntl.h> #include <pwd.h> #include <limits.h> +#ifdef HAVE_POLL_H #include <poll.h> +#endif #include <signal.h> #include <string.h> #include <termios.h> |