[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] branch master updated: Include config.h in mini-gmp.c, i
From: |
Andy Wingo |
Subject: |
[Guile-commits] branch master updated: Include config.h in mini-gmp.c, if present |
Date: |
Sat, 01 May 2021 16:40:02 -0400 |
This is an automated email from the git hooks/post-receive script.
wingo pushed a commit to branch master
in repository guile.
The following commit(s) were added to refs/heads/master by this push:
new 8109401 Include config.h in mini-gmp.c, if present
8109401 is described below
commit 81094013be65fe01b372af2b6eec1bc16462e99b
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Sat May 1 22:38:12 2021 +0200
Include config.h in mini-gmp.c, if present
* libguile/mini-gmp.c: Add config.h include. Handles the case in which
gnulib provides some part of the standard library of mini-gmp, as is
apparently the case on FreeBSD for example. Thanks to RhodiumToad for
the report and fix.
---
libguile/mini-gmp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libguile/mini-gmp.c b/libguile/mini-gmp.c
index 48ce107..f7634cc 100644
--- a/libguile/mini-gmp.c
+++ b/libguile/mini-gmp.c
@@ -41,6 +41,10 @@ see https://www.gnu.org/licenses/. */
mpn/generic/sbpi1_div_qr.c, mpn/generic/sub_n.c,
mpn/generic/submul_1.c. */
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <assert.h>
#include <ctype.h>
#include <limits.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] branch master updated: Include config.h in mini-gmp.c, if present,
Andy Wingo <=