X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/62a3e4f0c54505834cb89c40726771ad32aabb27..e91ff6ce3d2653b41265591dafd4bdb32ae114c2:/src/system.h diff --git a/src/system.h b/src/system.h index 45427449..6dd83bcf 100644 --- a/src/system.h +++ b/src/system.h @@ -89,8 +89,15 @@ char *alloca (); # endif #endif -/* FIXME: Autoconfiscate. */ -#include +#if HAVE_LIMITS_H +# include +#endif +#ifndef SHRT_MIN +# define SHRT_MIN (-32768) +#endif +#ifndef SHRT_MAX +# define SHRT_MAX 32767 +#endif # include "xalloc.h"