pkgsrc/mail/dovecot2/patches/patch-aj
adam e57fcf93da Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,
written with security primarily in mind. Dovecot is an excellent choice for both
small and large installations. It's fast, simple to set up, requires no special
administration and it uses very little memory.
2010-11-05 12:00:39 +00:00

15 lines
413 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2010/11/05 12:00:39 adam Exp $
--- src/lib/lib.h.orig 2010-11-05 08:41:11.000000000 +0000
+++ src/lib/lib.h
@@ -6,6 +6,10 @@
# include "config.h"
#endif
+#ifdef __APPLE__
+#include <crt_externs.h>
+#endif
+
/* default system includes - keep these at minimum.. */
#include <stddef.h> /* Solaris defines NULL wrong unless this is used */
#include <string.h> /* strcmp() etc. */