From 3f0cffcc50721b5719445bde2680f4b8189c4cb1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 13 Apr 2009 03:27:53 -0400 Subject: [PATCH] Fixes for compiling on Solaris. --- src/physfs_internal.h | 6 ++++++ 1 file changed, 6 insertions(+) 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