summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--gmp-h.in4
2 files changed, 1 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e752ba6a..db9a03777 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,7 @@
* doc/mdate-sh, doc/texinfo.tex, install-sh, missing, ylwrap: Remove.
* .bootstrap: Use autoreconf (and in particular automake -a).
- * gmp-h.in: Remove __need_size_t.
+ * gmp-h.in: Remove __need_size_t. Include <stddef.h>, not <cstddef>.
* tests/mpf/reuse.c (main): Use small numbers as exponents.
diff --git a/gmp-h.in b/gmp-h.in
index 55fa735ae..5a91c6c3a 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -46,11 +46,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#ifndef __GNU_MP__
#define __GNU_MP__ 5
-#if defined (__cplusplus)
-#include <cstddef> /* for size_t */
-#else
#include <stddef.h> /* for size_t */
-#endif
/* Instantiated by configure. */
#if ! defined (__GMP_WITHIN_CONFIGURE)