summaryrefslogtreecommitdiff
path: root/src/helper/jim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/jim.c')
-rw-r--r--src/helper/jim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c
index 28dc950d..bcea7c53 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -49,7 +49,9 @@
#define JIM_DYNLIB /* Dynamic library support for UNIX and WIN32 */
#endif /* JIM_ANSIC */
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for vasprintf() */
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>