pkgsrc/mail/balsa/patches/patch-ag

20 lines
507 B
Text

$NetBSD: patch-ag,v 1.6 2012/12/25 21:07:13 joerg Exp $
--- libbalsa/imap/imap-handle.c.orig 2010-08-13 19:15:36.000000000 +0000
+++ libbalsa/imap/imap-handle.c
@@ -16,11 +16,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
-#include "config.h"
#define _POSIX_C_SOURCE 199506L
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 520
#define _BSD_SOURCE 1
+#define _NETBSD_SOURCE
+
+#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>