diff --git a/src/physfs_internal.h b/src/physfs_internal.h index 334ee6b..08544cb 100644 --- a/src/physfs_internal.h +++ b/src/physfs_internal.h @@ -29,6 +29,12 @@ #include #endif +/* !!! FIXME: if HAVE_ALLOCA_H would be good, too. */ +#if sun +#include +#define __inline__ inline +#endif + #ifdef __cplusplus extern "C" { #endif