mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.
This commit is contained in:
parent
f5b8a3b40e
commit
c32aa35d58
@ -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>
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include "php.h"
|
||||
|
||||
#include <zend_strtod.h>
|
||||
|
Loading…
Reference in New Issue
Block a user