Patched to compile on Solaris. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Wed, 07 Apr 2010 12:34:31 -0400
branchstable-2.0
changeset 1088 d19e235efe5f
parent 1087 064f8098c899
child 1095 69b884a15de1
Patched to compile on Solaris.
physfs_internal.h
--- a/physfs_internal.h	Mon Apr 05 15:51:28 2010 -0400
+++ b/physfs_internal.h	Wed Apr 07 12:34:31 2010 -0400
@@ -29,6 +29,10 @@
 #include <malloc.h>
 #endif
 
+#if defined(__sun) || defined(sun)
+#include <alloca.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif