aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-22 19:41:01 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-22 19:42:15 +0100
commit48d82a7dc77b4fa004684773aca05944682c1887 (patch)
tree5b5f1214cd74ca476d4229c9bae849e8eb57ad43 /src
parent0b6c43f038a7ac7120e2e84c116ed3fe26db09ee (diff)
downloadstrongswan-48d82a7dc77b4fa004684773aca05944682c1887.tar.bz2
strongswan-48d82a7dc77b4fa004684773aca05944682c1887.tar.xz
asprintf(3) requires _GNU_SOURCE to be defined5.0.3rc1
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
index 36bab7068..8db3731b2 100644
--- a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
+++ b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
@@ -13,6 +13,8 @@
* for more details.
*/
+#define _GNU_SOURCE /* for asprintf() */
+
#include "tnc_tnccs_manager.h"
#include <tnc/tnc.h>