changeset 725:49f68a7b7a55

Define _GNU_SOURCE for vasprintf
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Mar 2013 00:02:20 +0800
parents 35f5f64a59c5
children 78eda530c000 d44325108d0e b07eb3dc23ec
files scpmisc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scpmisc.c	Sun Mar 24 00:00:39 2013 +0800
+++ b/scpmisc.c	Sun Mar 24 00:02:20 2013 +0800
@@ -40,6 +40,7 @@
 
 /*RCSID("OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp ");*/
 
+#define _GNU_SOURCE
 #include "includes.h"
 #include "scpmisc.h"