diff options
-rw-r--r-- | test-vasprintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test-vasprintf.c b/test-vasprintf.c index 06fe5d61..dd22b9d9 100644 --- a/test-vasprintf.c +++ b/test-vasprintf.c @@ -15,6 +15,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#if defined(__linux__) || defined(__MINT__) +#define _GNU_SOURCE /* vasprintf() */ +#endif + #include <stdarg.h> #include <stdio.h> #include <string.h> |