Merge pull request #2274 from esdrubal/udpclientreceive
[mono.git] / eglib / src / gerror.c
index 1edae30ab5b480b65be55b70db39716cc57c644e..2ec089c9956c1053c96bd0b8ea441d2881d54800 100644 (file)
  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>
 #include <glib.h>
 
+#include "vasprintf.h"
+
 GError *
 g_error_new (gpointer domain, gint code, const char *format, ...)
 {