s3-popt: Fix configure.developer builds on Solairs.
[nivanova/samba-autobuild/.git] / 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@*/