$NetBSD: patch-ai,v 1.1 2007/09/20 20:50:53 wiz Exp $

--- libbalsa/mailbox_mh.c.orig	2005-05-22 23:11:29.000000000 +0200
+++ libbalsa/mailbox_mh.c
@@ -26,6 +26,7 @@
 #define _XOPEN_SOURCE_EXTENDED 1
 /* to compile this on BSD/Darwin */
 #undef _POSIX_SOURCE
+#define _NETBSD_SOURCE 1
 
 #include <unistd.h>
 #include <fcntl.h>
