Fix warning "implicit declaration of function `vasprintf'"

If There is a better fix, plz fixme.
This commit is contained in:
Xinchen Hui 2011-09-15 07:09:43 +00:00
parent f5b8a3b40e
commit c32aa35d58
2 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,8 @@
* print.c - debugging printout routines
*/
#define _GNU_SOURCE
#include "php.h"
#include "main/snprintf.h"
#include "file.h"
@ -38,6 +38,7 @@
FILE_RCSID("@(#)$File: print.c,v 1.66 2009/02/03 20:27:51 christos Exp $")
#endif /* lint */
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>

View File

@ -18,7 +18,7 @@
/* $Id$ */
#define _GNU_SOURCE
#include "php.h"
#include <zend_strtod.h>