diff --git a/libguile/__scm.h b/libguile/__scm.h index 0d4d29e7a..51560c4ea 100644 --- a/libguile/__scm.h +++ b/libguile/__scm.h @@ -119,11 +119,11 @@ typedef unsigned long ulong_long; /* What did the configure script discover about the outside world? */ -#include +#include "libguile/scmconfig.h" /* Write prototype declarations like this: - int foo PROTO(int a, int b); + int foo PROTO ((int a, int b)); At definitions, use K&R style declarations, but make sure there's a declarative prototype (as above) in scope. This will give you argument type checking, when available, and be harmless otherwise. */ @@ -166,7 +166,23 @@ typedef unsigned long ulong_long; #endif /* def HAVE_LIMITS_H */ -#include +#ifdef STDC_HEADERS +# include +# ifdef AMIGA +# include +# endif /* def AMIGA */ +# define scm_sizet size_t +#else +# ifdef _SIZE_T +# define scm_sizet size_t +# else +# define scm_sizet unsigned int +# endif /* def _SIZE_T */ +#endif /* def STDC_HEADERS */ + + + +#include "libguile/tags.h" #ifdef vms