]> granicus.if.org Git - php/commitdiff
fix compiler warnings by moving all std includes after include of zend_config.h.
authorNuno Lopes <nlopess@php.net>
Mon, 1 Jun 2009 17:51:53 +0000 (17:51 +0000)
committerNuno Lopes <nlopess@php.net>
Mon, 1 Jun 2009 17:51:53 +0000 (17:51 +0000)
this also fixes the build with stricter compilers than gcc (like clang)

Zend/zend.h

index 935e113241db239c4bc318e71924c8a76b96c4dc..eaef7f182fd7174e6eb3c1524d7f406d2c88fa8f 100644 (file)
@@ -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