summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-10-28 15:53:25 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-10-28 16:27:53 +1100
commit6fc7e1c6fec3ba589869ae98e968c0e5e2e4695b (patch)
treeba9d0940364de84f789236e026577887af2e43c9 /misc.c
parent9239a18f96905cc1a353e861e33af093652f24e7 (diff)
downloadopenssh-git-6fc7e1c6fec3ba589869ae98e968c0e5e2e4695b.tar.gz
Wrap poll.h includes in HAVE_POLL_H.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index 88833d7f..78c00eb8 100644
--- a/misc.c
+++ b/misc.c
@@ -38,7 +38,9 @@
#ifdef HAVE_LIBGEN_H
# include <libgen.h>
#endif
+#ifdef HAVE_POLL_H
#include <poll.h>
+#endif
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>