cvs: ZendEngine2 / zend.h
[email protected] ("Nuno Lopes") Mon, 01 Jun 2009 17:52:29 -0000
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvsnlopess1243878749@cvsserver> |
nlopess Mon Jun 1 17:52:29 2009 UTC
Modified files:
/ZendEngine2 zend.h
Log:
MFB: fix compiler warnings by moving all std includes after include of zend_config.h
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.369&r2=1.370&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.369 ZendEngine2/zend.h:1.370
--- ZendEngine2/zend.h:1.369 Mon Jun 1 15:07:27 2009
+++ ZendEngine2/zend.h Mon Jun 1 17:52:29 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.369 2009/06/01 15:07:27 lbarnaud Exp $ */
+/* $Id: zend.h,v 1.370 2009/06/01 17:52:29 nlopess Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -34,9 +34,6 @@
#define END_EXTERN_C()
#endif
-#include <stdio.h>
-#include <assert.h>
-
/*
* general definitions
*/
@@ -68,6 +65,9 @@
/* all HAVE_XXX test have to be after the include of zend_config above */
+#include <stdio.h>
+#include <assert.h>
+
#ifdef HAVE_UNIX_H
# include <unix.h>
#endif