summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpc.h1
-rw-r--r--mpc.texi7
2 files changed, 3 insertions, 5 deletions
diff --git a/mpc.h b/mpc.h
index 28947f7..ffdcf33 100644
--- a/mpc.h
+++ b/mpc.h
@@ -27,6 +27,7 @@ MA 02111-1307, USA. */
# define _MPC_H_HAVE_FILE 1
#endif
+#include "gmp.h"
#include "mpfr.h"
/* Return values */
diff --git a/mpc.texi b/mpc.texi
index eebe76b..5bbea6c 100644
--- a/mpc.texi
+++ b/mpc.texi
@@ -298,12 +298,9 @@ the language needs to be improved, please send a note to the same address.
@cindex @file{mpc.h}
All declarations needed to use MPC are collected in the include file
@file{mpc.h}. It is designed to work with both C and C++ compilers.
-You should include that file in any program using the MPC library.
-As MPC is based on the MPFR library, itself based on GNU MP, you
-should also include the corresponding header files in the following order:
+You should include that file in any program using the MPC library
+by adding the line
@example
- #include "gmp.h"
- #include "mpfr.h"
#include "mpc.h"
@end example