summaryrefslogtreecommitdiff
path: root/mail/balsa/patches/patch-ag
blob: 72796803c557c58f6e492fc480bf1587c55e529c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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>