summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-06-09 13:02:18 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-06-09 13:02:18 +0100
commit861a7c51461a2df09f364f53d723edcd36cb1627 (patch)
tree7755c7ee49e42ad120baf907d97a39e1a3a18c25
parentae9d18bce985de6ff806c167059ffdd554278882 (diff)
Tighter guard for POLLRDHUP
-rw-r--r--src/src/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index dae310117..5a5abaebf 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -3494,7 +3494,7 @@ for (; cb != NULL; cb = cb->next)
if (smtp_out != NULL && !disable_delay_flush)
mac_smtp_fflush();
-#if !defined(NO_POLL_H) && defined (_GNU_SOURCE)
+#if !defined(NO_POLL_H) && defined (POLLRDHUP)
{
struct pollfd p;
nfds_t n = 0;