summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-15 07:09:43 +0000
committerXinchen Hui <laruence@php.net>2011-09-15 07:09:43 +0000
commitf265c5a57394aea458fe705307a6e28b7563e2fa (patch)
treedc29327ef72846bd40a73b1b5fddefc4b20738ca /main
parent9a6424e95d7847ed3e65b87cbc3d099ce0b8c1ef (diff)
downloadphp-git-f265c5a57394aea458fe705307a6e28b7563e2fa.tar.gz
Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.
Diffstat (limited to 'main')
-rw-r--r--main/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/snprintf.c b/main/snprintf.c
index e623e821d3..16f10ecfe6 100644
--- a/main/snprintf.c
+++ b/main/snprintf.c
@@ -18,7 +18,7 @@
/* $Id$ */
-
+#define _GNU_SOURCE
#include "php.h"
#include <zend_strtod.h>