summaryrefslogtreecommitdiffhomepage
path: root/scpmisc.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-24 00:02:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-24 00:02:20 +0800
commit9be0d6b53d6b85a8f273ee28876405fbca49b9fd (patch)
tree8cd67c6cb9d3650df1faf147b42651548d7dce89 /scpmisc.c
parentbbf6d5f2f5375c3d227f7618c04552f77a352b4c (diff)
Define _GNU_SOURCE for vasprintf
Diffstat (limited to 'scpmisc.c')
-rw-r--r--scpmisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scpmisc.c b/scpmisc.c
index c3b09a5..ec4df35 100644
--- a/scpmisc.c
+++ b/scpmisc.c
@@ -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"