Patched to compile on Solaris.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 08 Apr 2010 09:56:51 -0400
changeset 1089 5491e6c69162
parent 1086 e2515a0fdec1
child 1090 b38f938f5009
Patched to compile on Solaris.
src/physfs_internal.h
--- a/src/physfs_internal.h	Mon Apr 05 15:50:02 2010 -0400
+++ b/src/physfs_internal.h	Thu Apr 08 09:56:51 2010 -0400
@@ -35,6 +35,10 @@
 #define __inline__ inline
 #endif
 
+#if defined(__sun) || defined(sun)
+#include <alloca.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif