Fixes for compiling on Solaris.

This commit is contained in:
Ryan C. Gordon 2009-04-13 03:27:53 -04:00
parent 8d796488a2
commit 3f0cffcc50
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@
#include <malloc.h>
#endif
/* !!! FIXME: if HAVE_ALLOCA_H would be good, too. */
#if sun
#include <alloca.h>
#define __inline__ inline
#endif
#ifdef __cplusplus
extern "C" {
#endif