X-Git-Url: http://cgit.sxemacs.org/?p=sxemacs;a=blobdiff_plain;f=src%2Falloc.c;h=9c07f166c1dfea2bdebf2f2804de64699a909dd4;hp=e5e4c21ad798d8280359dfb038fcc56277e51c22;hb=69c63e4c742c7fc7dc742ec65074c02d3eb21e60;hpb=c3a11ea4b0d1bceb3381a0f2bc76ee0387339656 diff --git a/src/alloc.c b/src/alloc.c index e5e4c21..9c07f16 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -60,6 +60,9 @@ along with this program. If not, see . */ #include "ui/window.h" #include "ui/console-stream.h" +#include +#include + #ifdef DOUG_LEA_MALLOC #include #endif @@ -1227,6 +1230,8 @@ Return a new list of length LENGTH, with each element being OBJECT. /************************************************************************/ /* Float allocation */ /************************************************************************/ +/* used by many of the allocators below */ +#include "ent/ent.h" #ifdef HAVE_FPFLOAT #include @@ -1642,6 +1647,7 @@ make_bigg_bg(bigg gaussian_value) /*** Big complex numbers with correct rounding ***/ #if defined HAVE_MPC && defined WITH_MPC || \ defined HAVE_PSEUC && defined WITH_PSEUC +#include DECLARE_FIXED_TYPE_ALLOC(bigc, Lisp_Bigc); #define MINIMUM_ALLOWED_FIXED_TYPE_CELLS_bigc 250 @@ -3300,7 +3306,7 @@ Lisp_Object make_string_nocopy(Bufbyte *contents, Bytecount length) #ifdef EF_USE_COMPRE s->compre = Qnil; #endif - set_string_data(s, (Bufbyte*)contents); + set_string_data(s, contents); set_string_length(s, length); XSETSTRING(val, s);