From f4d82deb36b857c6d60d9f31b60d58665a8d6216 Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 28 Dec 2008 21:40:39 +0000 Subject: Uwe Hermann One of them is fixing a few compiler warnings (see attached patch) and likely also one (non-cosmetic) bug (the 'id_buff' change, which seems to be a buffer overflow). git-svn-id: svn://svn.berlios.de/openocd/trunk@1293 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helper') diff --git a/src/helper/jim.c b/src/helper/jim.c index f4336ae2..a43bcbd6 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -49,6 +49,7 @@ #define JIM_DYNLIB /* Dynamic library support for UNIX and WIN32 */ #endif /* JIM_ANSIC */ +#define _GNU_SOURCE /* for vasprintf() */ #include #include #include -- cgit v1.2.3