Define _GNU_SOURCE.

This commit is contained in:
Bruno Haible 2002-10-29 19:37:28 +00:00
parent 91a6c606e4
commit cd2e4e342e

View File

@ -17,6 +17,13 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
/* Tell glibc's <stdio.h> to provide a prototype for vasprintf().
This must come before <config.h> because <config.h> may include
<features.h>, and once <features.h> has been included, it's too late. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Specification. */
#include "autosprintf.h"