s3-popt: Fix configure.developer builds on Solairs.
authorIra Cooper <ira@samba.org>
Sat, 4 Feb 2012 00:47:18 +0000 (16:47 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 4 Feb 2012 02:27:42 +0000 (03:27 +0100)
alloca.h needs to be included, or the build complains the implicit
definition of alloca.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb  4 03:27:42 CET 2012 on sn-devel-104

lib/popt/system.h

index 1d1b9dae887888bd6442e97ef0431dc0b47ebe9d..bbb4f6cc264b3e7bd9ebb09ff1b6862af4c31b86 100644 (file)
@@ -58,6 +58,8 @@ char *alloca ();
 # endif
 #elif defined(__GNUC__) && defined(__STRICT_ANSI__)
 #define alloca __builtin_alloca
+#elif defined(__GNUC__) && defined(HAVE_ALLOCA_H)
+# include <alloca.h>
 #endif
 
 /*@-redecl -redef@*/