summaryrefslogtreecommitdiff
path: root/src/OS/os.h-Darwin
diff options
context:
space:
mode:
authorTom Kistner <tom@duncanthrax.net>2005-05-10 22:39:20 +0000
committerTom Kistner <tom@duncanthrax.net>2005-05-10 22:39:20 +0000
commitf452e07e85093659d7a4ee367a88e6c2bdb41825 (patch)
treecc091ad757978a405f51751dd306d7bacf2e2468 /src/OS/os.h-Darwin
parenta4e3111f2b200abc53c4a23133698d765e201600 (diff)
Fix poll() being unavailable on Mac OSX 10.2
Diffstat (limited to 'src/OS/os.h-Darwin')
-rw-r--r--src/OS/os.h-Darwin5
1 files changed, 4 insertions, 1 deletions
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;