]> granicus.if.org Git - php/commitdiff
Fix missing header warnings (alloca.h) on Sun Os & Tru64.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 11 Nov 2002 16:32:36 +0000 (16:32 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 11 Nov 2002 16:32:36 +0000 (16:32 +0000)
TSRM/tsrm_config_common.h

index 7ba86e70adcb06d2886fdc88931eaabb5a42ca2a..8dbb93fe89fc09d0ba6da183ca2c658e6e8f1123 100644 (file)
 # include <sys/param.h>
 #endif
 
+#if HAVE_ALLOCA_H && !defined(_ALLOCA_H)
+#  include <alloca.h>
+#endif
+
 /* AIX requires this to be the first thing in the file.  */
 #ifndef __GNUC__
-# if HAVE_ALLOCA_H
-#  include <alloca.h>
-# else
+# ifndef HAVE_ALLOCA_H
 #  ifdef _AIX
  #pragma alloca
 #  else