Kaynağa Gözat

Patched to compile on Solaris.

Ryan C. Gordon 16 yıl önce
ebeveyn
işleme
4189377d15
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      physfs_internal.h

+ 4 - 0
physfs_internal.h

@@ -29,6 +29,10 @@
 #include <malloc.h>
 #include <malloc.h>
 #endif
 #endif
 
 
+#if defined(__sun) || defined(sun)
+#include <alloca.h>
+#endif
+
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {
 #endif
 #endif