소스 검색

Patched to compile on Solaris.

Ryan C. Gordon 16 년 전
부모
커밋
4189377d15
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      physfs_internal.h

+ 4 - 0
physfs_internal.h

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