From f452e07e85093659d7a4ee367a88e6c2bdb41825 Mon Sep 17 00:00:00 2001 From: Tom Kistner Date: Tue, 10 May 2005 22:39:20 +0000 Subject: Fix poll() being unavailable on Mac OSX 10.2 --- src/OS/os.h-Darwin | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/OS/os.h-Darwin') diff --git a/src/OS/os.h-Darwin b/src/OS/os.h-Darwin index 3a716376d..8efbc8562 100644 --- a/src/OS/os.h-Darwin +++ b/src/OS/os.h-Darwin @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/OS/os.h-Darwin,v 1.1 2004/10/06 15:07:39 ph10 Exp $ */ +/* $Cambridge: exim/src/OS/os.h-Darwin,v 1.2 2005/05/10 22:39:20 tom Exp $ */ /* Exim: OS-specific C header file for Darwin (Mac OS X) */ @@ -9,6 +9,9 @@ #define PAM_H_IN_PAM #define SIOCGIFCONF_GIVES_ADDR +/* OSX 10.2 does not have poll.h, 10.3 does emulate it badly. */ +#define NO_POLL_H + #define F_FREESP O_TRUNC typedef struct flock flock_t; -- cgit v1.2.3