summaryrefslogtreecommitdiff
path: root/src/pam_radius_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pam_radius_auth.h')
-rw-r--r--src/pam_radius_auth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h
index aa4e841..742e912 100644
--- a/src/pam_radius_auth.h
+++ b/src/pam_radius_auth.h
@@ -24,7 +24,10 @@
#include <netdb.h>
#include <fcntl.h>
#include <arpa/inet.h>
+
+#ifdef WITH_POLL
#include <poll.h>
+#endif
#if defined(HAVE_SECURITY_PAM_APPL_H)
# include <security/pam_appl.h>