Fix PR ada/97805

We need to include limits.h (or <climits>) in adaint.c because of LLONG_MIN.

gcc/ada/ChangeLog:
	PR ada/97805
	* adaint.c: Include climits in C++ and limits.h otherwise.
This commit is contained in:
Eric Botcazou 2020-11-19 16:39:34 +01:00
parent 9844497a93
commit 2729378d09

View File

@ -145,6 +145,13 @@
#include "version.h"
#endif
/* limits.h is needed for LLONG_MIN. */
#ifdef __cplusplus
#include <climits>
#else
#include <limits.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif