# HG changeset patch # User jwe # Date 1161137767 0 # Node ID cb4324a4fbb5ea31285c200083915e3d73c39c24 # Parent 0cc5f8afba3f4d962d31410af44daa19e82d1631 [project @ 2006-10-18 02:16:07 by jwe] diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,7 @@ 2006-10-13 Michael Goffioul + * oct-types.h.in: Include limits.h, for CHAR_BIT. + * Makefile.in: Adapt rules to use $(LIBPRE). 2006-10-03 David Bateman diff --git a/liboctave/oct-types.h.in b/liboctave/oct-types.h.in --- a/liboctave/oct-types.h.in +++ b/liboctave/oct-types.h.in @@ -32,6 +32,10 @@ #include #else +#if defined (HAVE_LIMITS_H) +#include +#endif + #if CHAR_BIT == 8 typedef signed char int8_t; typedef unsigned char uint8_t;