$NetBSD: patch-ag,v 1.1 2004/07/23 15:09:57 recht Exp $ --- libbalsa/imap/imap-handle.c.orig 2004-07-08 22:40:45.000000000 +0200 +++ libbalsa/imap/imap-handle.c 2004-07-23 12:41:46.000000000 +0200 @@ -20,8 +20,12 @@ #define _POSIX_SOURCE 1 #define _BSD_SOURCE 1 +#define _NETBSD_SOURCE 1 #include #include +#ifdef __NetBSD__ +#include +#endif #include #include #include