cvs: ZendEngine2(PHP_5_3) / zend.h
[email protected] ("Nuno Lopes") Mon, 01 Jun 2009 17:51:54 -0000
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvsnlopess1243878714@cvsserver> |
nlopess Mon Jun 1 17:51:54 2009 UTC
Modified files: (Branch: PHP_5_3)
/ZendEngine2 zend.h
Log:
fix compiler warnings by moving all std includes after include of zend_config.h.
this also fixes the build with stricter compilers than gcc (like clang)
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.293.2.11.2.9.2.34&r2=1.293.2.11.2.9.2.35&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.293.2.11.2.9.2.34 ZendEngine2/zend.h:1.293.2.11.2.9.2.35
--- ZendEngine2/zend.h:1.293.2.11.2.9.2.34 Mon Jun 1 15:07:42 2009
+++ ZendEngine2/zend.h Mon Jun 1 17:51:53 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.293.2.11.2.9.2.34 2009/06/01 15:07:42 lbarnaud Exp $ */
+/* $Id: zend.h,v 1.293.2.11.2.9.2.35 2009/06/01 17:51:53 nlopess Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -34,8 +34,6 @@
#define END_EXTERN_C()
#endif
-#include <stdio.h>
-
/*
* general definitions
*/
@@ -67,6 +65,8 @@
/* all HAVE_XXX test have to be after the include of zend_config above */
+#include <stdio.h>
+
#ifdef HAVE_UNIX_H
# include <unix.h>
#endif