We need to include alloca.h on OpenSolaris.
[strongswan.git] / src / libstrongswan / chunk.h
index bfb53de..66c3f26 100644 (file)
@@ -26,6 +26,9 @@
 #include <string.h>
 #include <stdarg.h>
 #include <sys/types.h>
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
 
 typedef struct chunk_t chunk_t;