diff options
-rw-r--r-- | src/OS/os.h-OpenBSD | 5 | ||||
-rw-r--r-- | src/src/exim.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD index a594d17a7..9da2599c1 100644 --- a/src/OS/os.h-OpenBSD +++ b/src/OS/os.h-OpenBSD @@ -50,9 +50,4 @@ typedef struct __res_state *res_state; #endif #define TIME_T_FMT "%lld" - -#ifndef POLLRDHUP -# define POLLRDHUP (POLLIN | POLLHUP) -#endif - /* End */ diff --git a/src/src/exim.h b/src/src/exim.h index f8dd9a9ba..e12049a9c 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -601,5 +601,11 @@ default to EDQUOT if it exists, otherwise ENOSPC. */ ssize_t readn(int fd, void *buffer, size_t len); +/* Some platforms (FreeBSD, OpenBSD, Solaris) do not seem to define this */ + +#ifndef POLLRDHUP +# define POLLRDHUP (POLLIN | POLLHUP) +#endif + #endif /* End of exim.h */ |